~bmerry/duplicity/pydrive-regular

« back to all changes in this revision

Viewing changes to duplicity/commandline.py

  • Committer: Michael Terry
  • Date: 2014-04-17 20:50:57 UTC
  • mto: This revision was merged to the branch mainline in revision 975.
  • Revision ID: michael.terry@canonical.com-20140417205057-4cxo1yebh0oer02a
Solve except 2to3 fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
def check_time(option, opt, value):
110
110
    try:
111
111
        return dup_time.genstrtotime(value)
112
 
    except dup_time.TimeException, e:
 
112
    except dup_time.TimeException as e:
113
113
        raise optparse.OptionValueError(str(e))
114
114
 
115
115
def check_verbosity(option, opt, value):