OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:_backup_dir
(Results
1 - 1
of
1
) sorted by null
/external/autotest/server/cros/ap_configurators/
pyauto_utils.py
32
_backup_dir
= None # dir to which existing content is backed up
variable in class:ExistingPathReplacer
52
self.
_backup_dir
= tempfile.mkdtemp(dir=os.path.dirname(self._path),
54
logging.info('Backing up %s in %s' % (self._path, self.
_backup_dir
))
56
os.path.join(self.
_backup_dir
, self._backup_basename))
62
if self.
_backup_dir
: # Reinstate, if backed up.
63
from_path = os.path.join(self.
_backup_dir
, self._backup_basename)
85
if self.
_backup_dir
and os.path.isdir(self.
_backup_dir
):
86
shutil.rmtree(self.
_backup_dir
, ignore_errors=True)
Completed in 616 milliseconds