Example #1
0
def convertPath(file):
    '''Converts the cygwin path to a full Windows path'''
    try:
        import cygwinpath
        return cygwinpath.convertToFullWin32Path(file)
    except ImportError:
        pass
    return file
Example #2
0
File: bk.py Project: 00liujj/petsc
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