diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-06 15:53:23 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-06 15:53:23 +0000 |
commit | e6544a4cf2e02415870e6aa0f60537e4895d8bb3 (patch) | |
tree | 02327c3eef070c1c58e04b7a7c8afab7a90a96e6 /upgrade.py | |
parent | 8b6cbbd31b5c9eac5d16da6b2ee6eb4bae7a81b3 (diff) | |
download | anaconda-e6544a4cf2e02415870e6aa0f60537e4895d8bb3.tar.gz anaconda-e6544a4cf2e02415870e6aa0f60537e4895d8bb3.tar.xz anaconda-e6544a4cf2e02415870e6aa0f60537e4895d8bb3.zip |
fix bugs pychecker found...
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.py b/upgrade.py index 12c1dd110..f5dd50253 100644 --- a/upgrade.py +++ b/upgrade.py @@ -196,7 +196,7 @@ def upgradeMountFilesystems(intf, rootInfo, oldfsset, instPath): badLinks = [] for n in checkLinks: if not os.path.islink(instPath + n): continue - l = os.readlink(self.instPath + n) + l = os.readlink(instPath + n) if l[0] == '/': badLinks.append(n) @@ -251,7 +251,7 @@ def upgradeFindPackages (intf, method, id, instPath): intf.messageWindow(_("Error"), _("Rebuild of RPM database failed. " "You may be out of disk space?")) - if files.setupFilesystems: + if flags.setupFilesystems: fsset.umountFilesystems (instPath) sys.exit(0) |