def _asFilesystemText(path, encoding=None):
 if (type(path) == unicode):
  return path
 else:
  if (encoding is None):
   encoding = sys.getfilesystemencoding()
  return path.decode(encoding)

def _asFilesystemText ( path , encoding = None ) : if ( type ( path ) == unicode ) : return path else : if ( encoding is None ) : encoding = sys . getfilesystemencoding ( ) return path . decode ( encoding )
return c{path} as a string of l{unicode} suitable for use on this systems filesystem .