def globify(fmt, keyvals=None):
if keyvals is None:<EOL><INDENT>keyvals = {}<EOL><DEDENT>return globify_formatter.format(fmt, **keyvals)<EOL>
Generate a string usable with glob.glob() from format string
    *fmt* and *keyvals* dictionary.