def birdseye(): try: import birdseye except ImportError: print "birdseye.py not found. You may get it from:" print "http://todo-py.googlecode.com/svn/trunk/birdseye.py" sys.exit() archive() birdseye.main([TODO_FILE, DONE_FILE])
def birdseye(args=[]): try: import birdseye except ImportError: print "birdseye.py not found. You may get it from:" print "http://todotxt.googlecode.com/svn/trunk/birdseye.py" sys.exit() archive() if len(args) != 0: args = [TODO_FILE, DONE_FILE, args[0]] else: args = [TODO_FILE, DONE_FILE] birdseye.main(args)