

def _create_file_if_needed(self):
    'Create an empty file if necessary.\n\n        This method will not initialize the file. Instead it implements a\n        simple version of "touch" to ensure the file has been created.\n        '
    if (not os.path.exists(self._filename)):
        old_umask = os.umask(127)
        try:
            open(self._filename, 'a+b').close()
        finally:
            os.umask(self)

dataset/ETHPy150Open google/oauth2client/oauth2client/file.py Storage._create_file_if_needed/VarMisuse@64/151 `old_umask`->`self`