<s> from cloudferry . lib . base . action import action <EOL> DEFAULT = <NUM_LIT:0> <EOL> PATH_ONE = <NUM_LIT:1> <EOL> PATH_TWO = <NUM_LIT:2> <EOL> class IsOption ( action . Action ) : <EOL> def __init__ ( self , init , option_name ) : <EOL> self . option_name = option_name <EOL> super ( IsOption , self ) . __init__ ( init ) <EOL> def run ( self , ** kwargs ) : <EOL> self . set_next_path ( DEFAULT ) <EOL> option_value = self . cfg . migrate [ self . option_name ] <EOL> if option_value : <EOL> self . set_next_path ( PATH_ONE ) <EOL> else : <EOL> self . set_next_path ( PATH_TWO ) <EOL> return { } </s>
