Changeset 480

Show
Ignore:
Timestamp:
12/01/07 19:54:26 (1 year ago)
Author:
athomas
Message:

shedskin: Whoops. Forgot to pass sys.argv to main().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • shedskin/branches/distutils/scripts/shed

    r479 r480  
    11#!/usr/bin/env python 
    22 
     3import sys 
    34from shedskin.core import main 
    45 
    5 main(
     6main(sys.argv[1:]
  • shedskin/branches/distutils/shedskin/core.py

    r479 r480  
    67446744    # --- parse command-line options 
    67456745    try: 
    6746         opts, args = getopt.getopt(argv[1:], 'eibnf:', ['infinite', 'extmod', 'bounds', 'nowrap', 'flags=']) 
     6746        opts, args = getopt.getopt(argv, 'eibnf:', ['infinite', 'extmod', 'bounds', 'nowrap', 'flags=']) 
    67476747    except getopt.GetoptError: 
    67486748        usage()