<s> from optparse import OptionParser <EOL> import sys <EOL> from time import time <EOL> from command import Command <EOL> class GenRefCommand ( Command ) : <EOL> def init_parser ( self ) : <EOL> useage = "<STR_LIT>" <EOL> parser = OptionParser ( usage = useage ) <EOL> self . parser = parser <EOL> def run ( self ) : <EOL> """<STR_LIT>""" <EOL> self . parser . parse_args ( ) <EOL> sys . stdout . write ( "<STR_LIT>" % self . gen_ref ( ) ) <EOL> def gen_ref ( self , inc = <NUM_LIT:0> ) : <EOL> int_ref = round ( time ( ) * <NUM_LIT:10> ) + ( inc / <NUM_LIT> ) <EOL> return str ( int_ref ) . replace ( '<STR_LIT:.>' , '<STR_LIT>' ) </s>
