<s> def generate_ips ( start_ip , end_ip ) : <EOL> start = list ( map ( int , start_ip . split ( "<STR_LIT:.>" ) ) ) <EOL> end = list ( map ( int , end_ip . split ( "<STR_LIT:.>" ) ) ) <EOL> temp = start <EOL> ip_range = [ ] <EOL> ip_range . append ( start_ip ) <EOL> while temp != end : <EOL> start [ <NUM_LIT:3> ] += <NUM_LIT:1> <EOL> for i in ( <NUM_LIT:3> , <NUM_LIT:2> , <NUM_LIT:1> ) : <EOL> if temp [ i ] == <NUM_LIT> : <EOL> temp [ i ] = <NUM_LIT:0> <EOL> temp [ i - <NUM_LIT:1> ] += <NUM_LIT:1> <EOL> ip_range . append ( "<STR_LIT:.>" . join ( map ( str , temp ) ) ) <EOL> return ip_range <EOL> class Empty ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , ** kw ) : <EOL> for k , v in kw . items ( ) : <EOL> setattr ( self , k , v ) </s>
