It is more convenient to set the prefix once and for all in the config
file than each time on command line.
if options.prefix:
prefix_str = options.prefix + ' '
else:
if options.prefix:
prefix_str = options.prefix + ' '
else:
+ confprefix = config.get('stgit.mail.prefix')
+ if confprefix:
+ prefix_str = confprefix + ' '
+ else:
+ prefix_str = ''
total_nr_str = str(total_nr)
patch_nr_str = '0'.zfill(len(total_nr_str))
total_nr_str = str(total_nr)
patch_nr_str = '0'.zfill(len(total_nr_str))
if options.prefix:
prefix_str = options.prefix + ' '
else:
if options.prefix:
prefix_str = options.prefix + ' '
else:
+ confprefix = config.get('stgit.mail.prefix')
+ if confprefix:
+ prefix_str = confprefix + ' '
+ else:
+ prefix_str = ''
if options.diff_opts:
diff_flags = options.diff_opts.split()
if options.diff_opts:
diff_flags = options.diff_opts.split()