buildframework/helium/sf/python/pythoncore/lib/archive/builders.py
changeset 628 7c4a911dc066
parent 588 c7c26511138f
--- a/buildframework/helium/sf/python/pythoncore/lib/archive/builders.py	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/python/pythoncore/lib/archive/builders.py	Fri Aug 13 14:59:05 2010 +0300
@@ -134,12 +134,12 @@
                 commonRoots[common_path] = 1
         return commonRoots.keys()
 
-    def getPrefix(self, dir, commonUncRoots):
+    def getPrefix(self, dir_, commonUncRoots):
         """get prefix"""
         for root in commonUncRoots:
-            if dir.startswith(root):
+            if dir_.startswith(root):
                 return root
-        raise Exception("Could not find root for %s." % dir)
+        raise Exception("Could not find root for %s." % dir_)
     
     def checkRootDirValue(self, builder, parse_xml_file, build_drive, config_type):
         """Checks UNC path in root.dir and adds the substituted drive into EMAKEROOT."""