- Timestamp:
- Mar 2, 2011, 6:09:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r8860 r8867 35 35 36 36 37 NODE_DIR = os. getcwd() + '/../nodes'37 NODE_DIR = os.path.dirname(__file__) + '/../nodes' 38 38 __version__ = '$Id$' 39 39 … … 686 686 import SocketServer 687 687 import CGIHTTPServer 688 # CGI does not go backward, little hack to get ourself in the right working directory. 689 os.chdir(os.path.dirname(__file__) + '/..') 688 690 try: 689 691 PORT = int(sys.argv[2])
Note:
See TracChangeset
for help on using the changeset viewer.