<s> import logging <EOL> from plumbum import local <EOL> log = logging . getLogger ( __name__ ) <EOL> def dry_run ( command , dry_run ) : <EOL> """<STR_LIT>""" <EOL> if not dry_run : <EOL> cmd_parts = command . split ( '<STR_LIT:U+0020>' ) <EOL> return local [ cmd_parts [ <NUM_LIT:0> ] ] ( cmd_parts [ <NUM_LIT:1> : ] ) <EOL> else : <EOL> log . info ( '<STR_LIT>' % command ) <EOL> return True </s>
