Sections
Timeline
View Tickets
New Ticket
Sub-Sections
Download
Unified Diff
Zip Archive
Metanav
Preferences
About Trac
Links
Slowchop Studios
Gerald Kaszuba
Advertisement

Changeset 75

Show
Ignore:
Timestamp:
07/07/08 07:20:27 (7 weeks ago)
Author:
gak
Message:
  • #23 importing relative modules don't work when using the command line tool
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/scripts/pycg

    r71 r75  
    2424""" 
    2525import sys 
     26import os 
    2627from optparse import OptionParser 
    2728 
     
    130131    __pygc_options = [options] 
    131132 
     133# Insert the current working directory into the path 
     134sys.path.insert(0, os.getcwd()) 
     135 
    132136if not options.quiet: 
    133137    print('Starting trace')