Merge branch 'stable-2.13' into stable-2.14
[ganeti-github.git] / lib / mcpu.py
index 35616c0..e0289bf 100644 (file)
@@ -219,7 +219,7 @@ def _SetBaseOpParams(src, defcomment, dst):
     dst.comment = defcomment
 
   if hasattr(src, constants.OPCODE_REASON):
-    dst.reason = getattr(dst, constants.OPCODE_REASON, [])
+    dst.reason = list(getattr(dst, constants.OPCODE_REASON, []))
     dst.reason.extend(getattr(src, constants.OPCODE_REASON, []))