From bdbd7768ebf6c1280cd451b12688ec391534195c Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 31 May 2011 08:27:44 +0000 Subject: [PATCH] * morituri/rip/cd.py: Use %default in options description. --- ChangeLog | 5 +++++ morituri/rip/cd.py | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b31f11d..8c11acc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Thomas Vander Stichele + + * morituri/rip/cd.py: + Use %default in options description. + 2011-05-31 Thomas Vander Stichele * morituri/rip/cd.py: diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index 9768401..2c9be7f 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -74,13 +74,11 @@ filling in the variables and expanding the file extension. Variables are: # FIXME: get from config self.parser.add_option('', '--track-template', action="store", dest="track_template", - help="template for track file naming (default %s)" % - DEFAULT_TRACK_TEMPLATE, + help="template for track file naming (default %default)", default=DEFAULT_TRACK_TEMPLATE) self.parser.add_option('', '--disc-template', action="store", dest="disc_template", - help="template for disc file naming (default %s)" % - DEFAULT_DISC_TEMPLATE, + help="template for disc file naming (default %default)", default=DEFAULT_DISC_TEMPLATE) default = 'flac'