#NEWLINE# def get_backend_name( self , location ) : #NEWLINE# #INDENT# "\n        Return the name of the version control backend if found at given\n        location, e.g. vcs.get_backend_name('/path/to/vcs/checkout')\n        " #NEWLINE# for vc_type in self . _registry . values ( ) : #NEWLINE# #INDENT# path = os . path . join ( location , vc_type . dirname ) #NEWLINE# if os . path . exists ( path ) : #NEWLINE# #INDENT# return vc_type . name #NEWLINE# #UNINDENT# #UNINDENT# return None