<s> import abc <EOL> import logging <EOL> from cliff import command <EOL> from cliff import lister <EOL> from cliff import show <EOL> import six <EOL> class CommandMeta ( abc . ABCMeta ) : <EOL> def __new__ ( mcs , name , bases , cls_dict ) : <EOL> if '<STR_LIT>' not in cls_dict : <EOL> cls_dict [ '<STR_LIT>' ] = logging . getLogger ( <EOL> cls_dict [ '<STR_LIT>' ] + '<STR_LIT:.>' + name ) <EOL> return super ( CommandMeta , mcs ) . __new__ ( mcs , name , bases , cls_dict ) <EOL> @ six . add_metaclass ( CommandMeta ) <EOL> class Command ( command . Command ) : <EOL> def run ( self , parsed_args ) : <EOL> self . log . debug ( '<STR_LIT>' , parsed_args ) <EOL> return super ( Command , self ) . run ( parsed_args ) <EOL> class Lister ( Command , lister . Lister ) : <EOL> pass <EOL> class ShowOne ( Command , show . ShowOne ) : <EOL> pass </s>
