Lines Matching refs:file
2 # ipachangeconf - configuration file manipulation classes and functions
361 # Read in the old file.
403 # Write settings to configuration file
404 # file is a path
408 def changeConf(self, file, newopts):
415 #Do not catch an unexisting file error, we want to fail in that case
416 shutil.copy2(file, file+self.backup_suffix)
418 f = openLocked(file, 0o644)
438 # Write settings to new file, backup old
439 # file is a path
443 def newConf(self, file, options):
451 shutil.copy2(file, file+self.backup_suffix)
454 # The orign file did not exist
457 f = openLocked(file, 0o644)