← Back to team overview

registry team mailing list archive

[Bug 589495] Re: duplicity --short-filenames crashes with TypeError

 

I think the following patch may fix the parsing issue... but I'm not
completely sure it's safe :-/

=== modified file 'duplicity/commandline.py'
--- duplicity/commandline.py	2010-08-26 14:11:14 +0000
+++ duplicity/commandline.py	2010-09-05 14:55:07 +0000
@@ -403,7 +403,7 @@
     parser.add_option("--sftp-command", metavar=_("command"))
 
     # If set, use short (< 30 char) filenames for all the remote files.
-    parser.add_option("--short-filenames", action="callback",
+    parser.add_option("--short-filenames", action="callback", dest="short_filenames",
                       callback=lambda o, s, v, p: (setattr(p.values, o.dest, True),
                                                    old_fn_deprecation(s)))
 


** Changed in: duplicity
       Status: New => Confirmed

-- 
duplicity --short-filenames crashes with TypeError
https://bugs.launchpad.net/bugs/589495
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.