parameters: (path)
return_statement: return "/" + drive[0] + path.replace('\\','/')
docstring: Translate a Windows pathname to an MSYS pathname.
      Necessary because we call out to ssh/scp, which are MSYS binaries
      and expect MSYS paths.
docstring_summary: Translate a Windows pathname to an MSYS pathname.
      Necessary because we call out to ssh/scp, which are MSYS binaries
      and expect MSYS paths.
docstring_tokens: Translate a Windows pathname to an MSYS pathname . Necessary because we call out to ssh / scp which are MSYS binaries and expect MSYS paths .
function: def WindowsPathToMsysPath(path):
      """Translate a Windows pathname to an MSYS pathname.
      Necessary because we call out to ssh/scp, which are MSYS binaries
      and expect MSYS paths."""
      if sys.platform != 'win32':
          return path
      (drive, path) = os.path.splitdrive(os.path.abspath(path))
      return "/" + drive[0] + path.replace('\\','/')
function_tokens: def WindowsPathToMsysPath ( path ) : if sys . platform != 'win32' : return path ( drive , path ) = os . path . splitdrive ( os . path . abspath ( path ) ) return "/" + drive [ 0 ] + path . replace ( '\\' , '/' )