~ubuntuone-control-tower/ubuntuone-client/trunk

« back to all changes in this revision

Viewing changes to bin/u1sdtool

  • Committer: Tarmac
  • Author(s): guillermo.gonzalez at canonical
  • Date: 2010-09-08 04:20:55 UTC
  • mfrom: (680.1.1 fix-619958)
  • Revision ID: tarmac-20100908042055-jqg3j9shyf4a8011
Fix u1sdtool --rescan_from_scratch args parsing to support VOLUME_ID=""

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
    elif options.unsubscribe_folder:
126
126
        d = sync_daemon_tool.unsubscribe_folder(options.unsubscribe_folder)
127
127
        d.addErrback(lambda r: show_error(r, out))
128
 
    elif options.rescan_from_scratch:
 
128
    elif options.rescan_from_scratch is not None:
129
129
        d = sync_daemon_tool.rescan_from_scratch(options.rescan_from_scratch)
130
130
        d.addErrback(lambda r: show_error(r, out))
131
131
    elif options.publish_file: