<s> from debile . slave . runners . sbuild import sbuild , version <EOL> import glob <EOL> def run ( dsc , package , job , firehose ) : <EOL> build_arch = job [ '<STR_LIT>' ] != "<STR_LIT:all>" <EOL> build_indep = job [ '<STR_LIT>' ] == "<STR_LIT:all>" or job [ '<STR_LIT>' ] <EOL> maintainer = package [ '<STR_LIT>' ] . get ( '<STR_LIT>' , { } ) . get ( '<STR_LIT>' ) <EOL> firehose , out , ftbfs , changes , = sbuild ( dsc , maintainer , package [ '<STR_LIT>' ] , package [ '<STR_LIT>' ] , build_arch , build_indep , firehose ) <EOL> if not changes and not ftbfs : <EOL> print ( out ) <EOL> print ( changes ) <EOL> print ( list ( glob . glob ( "<STR_LIT:*>" ) ) ) <EOL> raise Exception ( "<STR_LIT>" ) <EOL> if not ftbfs : <EOL> changes = changes [ <NUM_LIT:0> ] <EOL> else : <EOL> changes = None <EOL> return ( firehose , out , ftbfs , changes , None ) <EOL> def get_version ( ) : <EOL> return version ( ) </s>
