<s> from optparse import make_option <EOL> from django . core . management . base import BaseCommand , CommandError <EOL> from olympia . lib . crypto . tasks import unsign_addons <EOL> class Command ( BaseCommand ) : <EOL> args = '<STR_LIT>' <EOL> help = '<STR_LIT>' <EOL> option_list = BaseCommand . option_list + ( <EOL> make_option ( '<STR_LIT>' , action = '<STR_LIT:store_true>' , dest = '<STR_LIT>' , <EOL> help = '<STR_LIT>' ) , <EOL> ) <EOL> def handle ( self , * args , ** options ) : <EOL> if len ( args ) == <NUM_LIT:0> : <EOL> raise CommandError ( <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> addon_ids = [ int ( addon_id ) for addon_id in args ] <EOL> unsign_addons ( addon_ids , force = options [ '<STR_LIT>' ] ) </s>
