From 612e94ceaa1f063250b706530b9515ce77b32c59 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 8 Sep 2004 02:00:20 -0400 Subject: setup_ledger.py needs to link against libgmp --- main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 52852476..4fc59c91 100644 --- a/main.py +++ b/main.py @@ -10,15 +10,13 @@ def bar (str): register_option ("hello", "h:", foo) register_option ("goodbye", "g:", bar) -print process_arguments (sys.argv[1:]) +args = process_arguments (sys.argv[1:]) process_environment (os.environ, "TEST_") -sys.exit(0) - parser = TextualParser () register_parser (parser) journal = Journal () -parse_journal_file (sys.argv[1], journal) +parse_journal_file (args[0], journal) print journal[-1].payee -- cgit v1.2.3