git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a39c1f0
)
remove debugging print statement
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 28 Jan 2008 17:01:44 +0000
(17:01 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 28 Jan 2008 17:01:44 +0000
(17:01 +0000)
plcsh
patch
|
blob
|
history
diff --git
a/plcsh
b/plcsh
index
9997c15
..
ad10824
100755
(executable)
--- a/
plcsh
+++ b/
plcsh
@@
-64,11
+64,10
@@
if len(sys.argv) > 1 and os.path.exists(sys.argv[1]):
# Pop us off the argument stack
sys.argv.pop(0)
script = sys.argv[0]
# Pop us off the argument stack
sys.argv.pop(0)
script = sys.argv[0]
+
# Add of script to sys.path
path = os.path.dirname(os.path.abspath(script))
sys.path.append(path)
# Add of script to sys.path
path = os.path.dirname(os.path.abspath(script))
sys.path.append(path)
- from pprint import pprint
- pprint(sys.path)
execfile(sys.argv[0])
# Otherwise, run an interactive shell environment
execfile(sys.argv[0])
# Otherwise, run an interactive shell environment