Fix a bug in rsync
[snf-image-creator] / image_creator / rsync.py
index 22d3ad7..7c869c2 100644 (file)
@@ -55,7 +55,6 @@ class Rsync:
         dry_run = subprocess.Popen(cmd + ['-n', self.src, self.dest],
                                    shell=False, stdout=subprocess.PIPE,
                                    bufsize=0)
         dry_run = subprocess.Popen(cmd + ['-n', self.src, self.dest],
                                    shell=False, stdout=subprocess.PIPE,
                                    bufsize=0)
-        print "%r" % (cmd + ['-n', self.src, self.dest])
         total = 0
         for line in iter(dry_run.stdout.readline, b''):
             total += 1
         total = 0
         for line in iter(dry_run.stdout.readline, b''):
             total += 1