def rewire (logger, file): if os.path.islink (file): s = os.readlink (file) if s.startswith ('/') and self.settings.system_root not in s: new_dest = os.path.join (self.settings.system_root, s[1:]) loggedos.remove (logger, file) loggedos.symlink (logger, new_dest, file)
def rewire(logger, file): if os.path.islink(file): s = os.readlink(file) if s.startswith('/') and self.settings.system_root not in s: new_dest = os.path.join(self.settings.system_root, s[1:]) loggedos.remove(logger, file) loggedos.symlink(logger, new_dest, file)
def execute (self, logger): loggedos.remove (logger, self.file)
def execute(self, logger): loggedos.remove(logger, self.file)