[anaconda:master 3/3] Remove pointless overrides identified by the pointless override checker.

mulhern amulhern at redhat.com
Tue Dec 2 18:24:21 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 pyanaconda/bootloader.py            | 3 ---
 pyanaconda/installclasses/fedora.py | 2 --
 pyanaconda/installclasses/rhel.py   | 1 -
 pyanaconda/packaging/dnfpayload.py  | 3 ---
 pyanaconda/ui/tui/tuiobject.py      | 9 ---------
 tests/pylint/intl.py                | 2 --
 6 files changed, 20 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 7c08991..c14f051 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1397,10 +1397,7 @@ class GRUB2(GRUB):
     packages = ["grub2"]
     _config_file = "grub.cfg"
     _config_dir = "grub2"
-    config_file_mode = 0o600
     defaults_file = "/etc/default/grub"
-    can_dual_boot = True
-    can_update = True
     terminal_type = "console"
 
     # requirements for boot devices
diff --git a/pyanaconda/installclasses/fedora.py b/pyanaconda/installclasses/fedora.py
index d176582..df26df0 100644
--- a/pyanaconda/installclasses/fedora.py
+++ b/pyanaconda/installclasses/fedora.py
@@ -30,8 +30,6 @@ class FedoraBaseInstallClass(BaseInstallClass):
 
     _l10n_domain = "anaconda"
 
-    installUpdates = True
-
     efi_dir = "fedora"
 
     help_placeholder = "FedoraPlaceholder.html"
diff --git a/pyanaconda/installclasses/rhel.py b/pyanaconda/installclasses/rhel.py
index f490a08..bd44f57 100644
--- a/pyanaconda/installclasses/rhel.py
+++ b/pyanaconda/installclasses/rhel.py
@@ -30,7 +30,6 @@ class RHELBaseInstallClass(BaseInstallClass):
     defaultFS = "xfs"
 
     bootloaderTimeoutDefault = 5
-    bootloaderExtraArgs = []
 
     ignoredPackages = ["ntfsprogs"]
 
diff --git a/pyanaconda/packaging/dnfpayload.py b/pyanaconda/packaging/dnfpayload.py
index 170b053..2d4a151 100644
--- a/pyanaconda/packaging/dnfpayload.py
+++ b/pyanaconda/packaging/dnfpayload.py
@@ -573,9 +573,6 @@ class DNFPayload(packaging.PackagePayload):
         self.requiredGroups = groups
         self.addDriverRepos()
 
-    def release(self):
-        pass
-
     def reset(self, root=None, releasever=None):
         super(DNFPayload, self).reset()
         self.txID = None
diff --git a/pyanaconda/ui/tui/tuiobject.py b/pyanaconda/ui/tui/tuiobject.py
index 0a5243f..855537f 100644
--- a/pyanaconda/ui/tui/tuiobject.py
+++ b/pyanaconda/ui/tui/tuiobject.py
@@ -116,15 +116,6 @@ class TUIObject(tui.UIScreen, common.UIObject):
     def showable(self):
         return True
 
-    def teardown(self):
-        pass
-
-    def initialize(self):
-        """This method gets called whenever Hub or UserInterface prepares
-        all found objects for use. It is called only once and has no direct
-        connection to rendering."""
-        pass
-
     def refresh(self, args = None):
         """Put everything to display into self.window list."""
         tui.UIScreen.refresh(self, args)
diff --git a/tests/pylint/intl.py b/tests/pylint/intl.py
index 4a2a84d..ac27bb6 100644
--- a/tests/pylint/intl.py
+++ b/tests/pylint/intl.py
@@ -129,8 +129,6 @@ class IntlStringFormatChecker(StringFormatChecker):
                        string format messages extended for translated strings")
            }
 
-    options = ()
-
     @check_messages('translated-format')
     def visit_binop(self, node):
         if node.op != '%':
-- 
1.9.3



More information about the anaconda-patches mailing list