<s> def convert_bytes ( bytes ) : <EOL> bytes = float ( bytes ) <EOL> if bytes is None : <EOL> return '<STR_LIT:0>' <EOL> if bytes >= <NUM_LIT> : <EOL> terabytes = bytes / <NUM_LIT> <EOL> size = '<STR_LIT>' % terabytes <EOL> elif bytes >= <NUM_LIT> : <EOL> gigabytes = bytes / <NUM_LIT> <EOL> size = '<STR_LIT>' % gigabytes <EOL> elif bytes >= <NUM_LIT> : <EOL> megabytes = bytes / <NUM_LIT> <EOL> size = '<STR_LIT>' % megabytes <EOL> elif bytes >= <NUM_LIT> : <EOL> kilobytes = bytes / <NUM_LIT> <EOL> size = '<STR_LIT>' % kilobytes <EOL> else : <EOL> size = '<STR_LIT>' % bytes <EOL> return size </s>
