]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
python3: Fix trivial error in clone()
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 5 Feb 2014 23:08:36 +0000 (18:08 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 5 Feb 2014 23:55:40 +0000 (18:55 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/python-lxc/lxc/__init__.py

index 4973dee8f5c3c2e07ed385e9c9934d5ef9d617e6..01f9a69bde2bb1b57ca5a1aed221f5bfdca12f8d 100644 (file)
@@ -216,8 +216,8 @@ class Container(_lxc.Container):
 
         args = {}
         args['newname'] = newname
-        args['flags'] = 0
-        args['newsize'] = 0
+        args['flags'] = flags
+        args['newsize'] = newsize
         args['hookargs'] = hookargs
         if config_path:
             args['config_path'] = config_path