def QuotedFileName(fname):
    """Given a filename, return a quoted version if necessary
    """
    import regutil, string
    try:
        string.index(fname, " ") # Other chars forcing quote?
        return '"%s"' % fname
    except __HOLE__:
        # No space in name.
        return fname
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/win32/scripts/regsetup.py/QuotedFileName