From cd41ab745f3468b35df4951750af302099215550 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sat, 12 Aug 2006 05:31:30 +0000 Subject: lastCommand seems to have been meant rather than token, since token would be numeric in the non-isCommand case (bzr r1584) --- share/extensions/simplepath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/extensions/simplepath.py b/share/extensions/simplepath.py index bfca242f6..09e882a37 100755 --- a/share/extensions/simplepath.py +++ b/share/extensions/simplepath.py @@ -102,8 +102,8 @@ def parsePath(d): #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: -- cgit v1.2.3