def convertPath(file): '''Converts the cygwin path to a full Windows path''' try: import cygwinpath return cygwinpath.convertToFullWin32Path(file) except ImportError: pass return file
def convertPath(self, f): if self.hasCygwinPath: return cygwinpath.convertToFullWin32Path(f) return f