#NEWLINE# def _is_local_repository( self , repo ) : #NEWLINE# #INDENT# '\n           posix absolute paths start with os.path.sep,\n           win32 ones ones start with drive (like c:\\folder)\n        ' #NEWLINE# ( drive , tail ) = os . path . splitdrive ( repo ) #NEWLINE# return ( repo . startswith ( os . path . sep ) or drive )