summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 837e3f8)
raw | patch | inline | side by side (parent: 837e3f8)
author | mental <mental@users.sourceforge.net> | |
Sat, 12 Aug 2006 05:31:30 +0000 (05:31 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Sat, 12 Aug 2006 05:31:30 +0000 (05:31 +0000) |
share/extensions/simplepath.py | patch | blob | history |
index bfca242f6bc3faa366f7f0d83ec691dfeb90b5dc..09e882a37ac0b939c164ff3d8b711f3447c05843 100755 (executable)
#use last command's implicit next command
needParam = False
if lastCommand:
- if token.isupper():
- command = pathdefs[lastCommand.upper()][0]
+ if lastCommand.isupper():
+ command = pathdefs[lastCommand][0]
else:
command = pathdefs[lastCommand.upper()][0].lower()
else: