diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-01-14 10:59:19 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-01-14 10:59:19 +0100 |
commit | eec3ab2d3c0d19f73cc7fca3113f128d36279171 (patch) | |
tree | 78787624481a4d8ba1147236c392094e3a7e960a /yuminstall.py | |
parent | df71485041f40c5a2833900d6fae2bddefa52dd1 (diff) | |
download | anaconda-eec3ab2d3c0d19f73cc7fca3113f128d36279171.tar.gz anaconda-eec3ab2d3c0d19f73cc7fca3113f128d36279171.tar.xz anaconda-eec3ab2d3c0d19f73cc7fca3113f128d36279171.zip |
pylint error fixes round 2
- Remove unnecessary semi colons in various places
- textw/upgrade_text.py: add a few missing imports
- Fix various missplaced doc strings
- Fix several double imports
- Fix AnacondaKSScript.run: Module 'os' has no 'exists' member
- users.py: Remove double definition of Users.setRootPassword
- yuminstall.py: correct typo reop -> repo
- yuminstall.py: _run: anaconda -> self.anaconda
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index de6197454..e51d1b849 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -731,7 +731,7 @@ class AnacondaYum(YumSorter): if m.group(4): repo.proxy = m.group(3) + m.group(4) else: - reop.proxy = m.group(3) + repo.proxy = m.group(3) if m and m.group(5): repo.proxy_username = m.group(5) @@ -986,7 +986,7 @@ class AnacondaYum(YumSorter): spaceprob = to_unicode(spaceprob) fileprob = to_unicode(fileprob) - if len(self.anaconda.backend.getRequiredMedia()) > 1 or anaconda.id.upgrade: + if len(self.anaconda.backend.getRequiredMedia()) > 1 or self.anaconda.id.upgrade: intf.detailedMessageWindow(_("Error Running Transaction"), msg, spaceprob + "\n" + fileprob, type="custom", custom_icon="error", custom_buttons=[_("_Exit installer")]) |