← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~mterry/duplicity/argv into lp:duplicity

 

Michael Terry has proposed merging lp:~mterry/duplicity/argv into lp:duplicity.

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~mterry/duplicity/argv/+merge/186699

When restarting due to an 'impossible' state of more remote manifests than local manifests, there is a typo that would cause duplicity to chop off its first argument when restarting itself.
-- 
https://code.launchpad.net/~mterry/duplicity/argv/+merge/186699
Your team duplicity-team is requested to review the proposed merge of lp:~mterry/duplicity/argv into lp:duplicity.
=== modified file 'bin/duplicity'
--- bin/duplicity	2013-04-27 14:05:34 +0000
+++ bin/duplicity	2013-09-20 01:35:58 +0000
@@ -1273,7 +1273,7 @@
                              "         backup then restart the backup from the beginning.") %
                              (mf_len, self.start_vol))
                 self.last_backup.delete()
-                os.execve(sys.argv[0], sys.argv[1:], os.environ)
+                os.execve(sys.argv[0], sys.argv, os.environ)
 
     def setLastSaved(self, mf):
         vi = mf.volume_info_dict[self.start_vol]


Follow ups