[PATCH 06/34] Ignore statements that have no effect.
Chris Lumens
clumens at redhat.com
Mon Aug 12 20:32:42 UTC 2013
Turns out, these do have an effect - lots of things happen in yum just by
referencing a property, and that's what we are counting on here.
---
pyanaconda/ui/gui/spokes/software.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py
index 1be181b..3791332 100644
--- a/pyanaconda/ui/gui/spokes/software.py
+++ b/pyanaconda/ui/gui/spokes/software.py
@@ -202,7 +202,9 @@ class SoftwareSelectionSpoke(NormalSpoke):
# involves side effects like network access. We need to reference
# them here, outside of the main thread, to not block the UI.
try:
+ # pylint: disable-msg=W0104
self.payload.environments
+ # pylint: disable-msg=W0104
self.payload.groups
except MetadataError:
hubQ.send_message(self.__class__.__name__,
--
1.8.1.2
More information about the anaconda-patches
mailing list