diff options
author | Martin Sivak <msivak@redhat.com> | 2008-09-08 12:39:45 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2008-09-08 12:43:19 +0200 |
commit | ea990d0225a87c90d71edbbb08d68e439bcfddc6 (patch) | |
tree | dc06da9174886e60ec1c6c39f86aa642160cd66f | |
parent | 18fb1dd24d178d2659c6d4c473dc67b45c060f23 (diff) | |
download | firstaidkit-ea990d0225a87c90d71edbbb08d68e439bcfddc6.tar.gz firstaidkit-ea990d0225a87c90d71edbbb08d68e439bcfddc6.tar.xz firstaidkit-ea990d0225a87c90d71edbbb08d68e439bcfddc6.zip |
Name collision in self.backup name
-rw-r--r-- | plugins/mkinitrd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mkinitrd.py b/plugins/mkinitrd.py index d3f0f9f..b16ccef 100644 --- a/plugins/mkinitrd.py +++ b/plugins/mkinitrd.py @@ -50,7 +50,7 @@ class mkinitrd(Plugin): def prepare(self): self._issue.set(reporting = self._reporting, origin = self, level = PLUGIN) -# self.backup = self._backups.getBackup(self.__class__.__name__+" -- "+self.name, persistent = False) + self._backup = self._backups.getBackup(self.__class__.__name__+" -- "+self.name, persistent = False) self._reporting.info("mkinitrd in Prepare task", origin = self, level = PLUGIN) f = open(os.path.join(Config.system.root,"/boot/grub/menu.lst")) for l in f: @@ -88,12 +88,12 @@ class mkinitrd(Plugin): def backup(self): self._reporting.info("mkinitrd in backup task", origin = self, level = PLUGIN) -# self.backup.backupPath(self.initrd_path) + self._backup.backupPath(self.initrd_path) self._result=ReturnSuccess def restore(self): self._reporting.info("mkinitrd in Restore task", origin = self, level = PLUGIN) -# self.backup.restorePath(self.initrd_path) + self._backup.restorePath(self.initrd_path) self._result=ReturnSuccess def diagnose(self): @@ -109,7 +109,7 @@ class mkinitrd(Plugin): def clean(self): self._result=ReturnSuccess -# self._backups.closeBackup(self.backup._id) + self._backups.closeBackup(self._backup._id) self._reporting.info("mkinitrd in Clean task", origin = self, level = PLUGIN) def get_plugin(): |