DebugClients/Python/DebugClientBase.py

branch
5_2_x
changeset 1606
446515c955f6
parent 1597
4320d71d3424
child 1706
d0871e278075
--- a/DebugClients/Python/DebugClientBase.py	Mon Feb 06 19:59:32 2012 +0100
+++ b/DebugClients/Python/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