Esempio n. 1
0
 def _revert(self, config_dest):
   backup_path = self._build_backup_path(config_dest)
   if os.path.isfile(backup_path):
     move_file(backup_path, config_dest)
Esempio n. 2
0
 def _revert(self, config_dest):
     backup_path = self._build_backup_path(config_dest)
     if os.path.isfile(backup_path):
         move_file(backup_path, config_dest)
Esempio n. 3
0
 def _backup(self, config_dest):
   if os.path.isfile(config_dest):
     backup_path = self._build_backup_path(config_dest)
     move_file(config_dest, backup_path)
Esempio n. 4
0
 def _backup(self, config_dest):
     if os.path.isfile(config_dest):
         backup_path = self._build_backup_path(config_dest)
         move_file(config_dest, backup_path)