def less_than_version(value):
items = list(map(int, str(value).split('<STR_LIT:.>')))<EOL>if len(items) == <NUM_LIT:1>:<EOL><INDENT>items.append(<NUM_LIT:0>)<EOL><DEDENT>items[<NUM_LIT:1>] += <NUM_LIT:1><EOL>if value == '<STR_LIT>':<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT:.>'.join(map(str, items))<EOL><DEDENT>
Converts the current version to the next one for inserting into requirements
in the ' < version' format