#NEWLINE# @ classmethod #NEWLINE# def DeconstructLockId( cls , lock_id ) : #NEWLINE# #INDENT# 'Returns the components of a lock identifier:\n        (resource_type, resource_id)\n    ' #NEWLINE# index = lock_id . find ( ':' ) #NEWLINE# assert ( index != ( - 1 ) ) #NEWLINE# return ( lock_id [ : index ] , lock_id [ ( index + 1 ) : ] )