DebugClients/Python3/DebugClientBase.py

changeset 1607
67c7ffaed401
parent 1509
c0b5e693b0eb
child 1706
d0871e278075
diff -r 899cb1241de5 -r 67c7ffaed401 DebugClients/Python3/DebugClientBase.py
--- a/DebugClients/Python3/DebugClientBase.py	Tue Feb 07 19:27:53 2012 +0100
+++ b/DebugClients/Python3/DebugClientBase.py	Fri Feb 10 19:33:45 2012 +0100
@@ -1124,9 +1124,9 @@
         # Search sys.path.
         for p in sys.path:
             afn = os.path.abspath(os.path.join(p, fn))
-            afn = os.path.normcase(afn)
+            nafn = os.path.normcase(afn)
 
-            if os.path.exists(afn):
+            if os.path.exists(nafn):
                 self.fncache[fn] = afn
                 d = os.path.dirname(afn)
                 if (d not in sys.path) and (d not in self.dircache):
@@ -1136,9 +1136,9 @@
         # Search the additional directory cache
         for p in self.dircache:
             afn = os.path.abspath(os.path.join(p, fn))
-            afn = os.path.normcase(afn)
+            nafn = os.path.normcase(afn)
             
-            if os.path.exists(afn):
+            if os.path.exists(nafn):
                 self.fncache[fn] = afn
                 return afn
         

eric ide

mercurial