def getOperationNameForId(i):
for key in operations:<EOL><INDENT>if int(operations[key]) is int(i):<EOL><INDENT>return key<EOL><DEDENT><DEDENT>return "<STR_LIT>" % i<EOL>
Convert an operation id into the corresponding string