<s> """<STR_LIT>""" <EOL> __docformat__ = '<STR_LIT>' <EOL> from os import curdir <EOL> from os . path import join as opj , abspath <EOL> from . base import Interface <EOL> from datalad . support . param import Parameter <EOL> from datalad . support . constraints import EnsureStr <EOL> from datalad . support . collectionrepo import CollectionRepo <EOL> from datalad . cmdline . helpers import get_datalad_master <EOL> class UnregisterCollection ( Interface ) : <EOL> """<STR_LIT>""" <EOL> _params_ = dict ( <EOL> name = Parameter ( <EOL> doc = "<STR_LIT>" , <EOL> constraints = EnsureStr ( ) ) ) <EOL> def __call__ ( self , name ) : <EOL> local_master = get_datalad_master ( ) <EOL> local_master . git_remote_remove ( name ) </s>
