Commits

Anonymous committed 2910537

Import SCons.Tool.MSCommon.vc so it works regardless of other sys.path
manipulation.

Comments (0)

Files changed (1)

src/engine/SCons/Tool/MSCommon/vs.py

                    normalize_env, \
                    parse_output
 
-import vc
+import SCons.Tool.MSCommon.vc
 
 class VisualStudio:
     """
         return batch_file
 
     def find_vs_dir(self):
-        vc.get_installed_vcs()
-        ivc = vc.InstalledVCMap.get(self.vc_version)
+        SCons.Tool.MSCommon.vc.get_installed_vcs()
+        ivc = SCons.Tool.MSCommon.vc.InstalledVCMap.get(self.vc_version)
         if not ivc:
             debug('find_vs_dir():  no installed VC %s' % self.vc_version)
             return None