<s> import os , sys <EOL> import json <EOL> from collections import namedtuple <EOL> Key = namedtuple ( "<STR_LIT>" , [ "<STR_LIT:name>" , "<STR_LIT:version>" ] ) <EOL> class BackendBase ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , name , version , description , supported = [ ] ) : <EOL> """<STR_LIT>""" <EOL> self . enable = '<STR_LIT:y>' <EOL> self . name = name <EOL> self . version = version <EOL> self . description = description <EOL> self . support = supported + [ name ] <EOL> self . initialize ( ) <EOL> def __str__ ( self ) : <EOL> return self . name <EOL> def initialize ( self ) : <EOL> """<STR_LIT>""" <EOL> return <EOL> def clone_repo ( self , url , gitdir ) : <EOL> """<STR_LIT>""" <EOL> return <EOL> def supported ( self , url ) : <EOL> """<STR_LIT>""" <EOL> return False <EOL> def url_is_valid ( self , url ) : <EOL> """<STR_LIT>""" <EOL> return <EOL> def push ( self , state , name ) : <EOL> """<STR_LIT>""" <EOL> return <EOL> def config ( self , what = '<STR_LIT>' , params = None ) : <EOL> return </s>
