def format_vars(args):
variables = []<EOL>for key, value in args.items():<EOL><INDENT>if value:<EOL><INDENT>variables += ['<STR_LIT>'.format(key, value)]<EOL><DEDENT><DEDENT>return variables<EOL>
Format the given vars in the form: 'flag=value