~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to obsolete/shelve

  • Committer: Aaron Bentley
  • Date: 2006-08-02 03:23:09 UTC
  • mto: This revision was merged to the branch mainline in revision 425.
  • Revision ID: aaron.bentley@utoronto.ca-20060802032309-6ad0139e61304b19
Etienne Goyer: remove unused shebangs, update packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import sys
4
4
import shelf
5
5
 
6
 
def main(args):
7
 
    finished = shelf.parse_args(args)
8
 
 
9
 
    if finished:
10
 
        return True
11
 
    else:
12
 
        return shelf.shelve()
13
 
 
14
6
if __name__ == '__main__':
15
 
    sys.exit(main(sys.argv) and 0 or 1)
 
7
    sys.exit(shelf.main(sys.argv))