[PATCH] Fix misuse of or ""
Brian C. Lane
bcl at redhat.com
Mon Jun 3 20:40:09 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
---
pyanaconda/ui/gui/spokes/source.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 17a01da..dbf0be6 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -578,7 +578,7 @@ class SourceSpoke(NormalSpoke):
@gtk_action_wait
def gtk_action_1():
self._autodetectDeviceLabel.set_text(_("Device: %s") % self._cdrom.name)
- self._autodetectLabel.set_text(_("Label: %s") % self._cdrom.format.label or "")
+ self._autodetectLabel.set_text(_("Label: %s") % (self._cdrom.format.label or ""))
gtk_action_1()
added = True
--
1.8.1.4
More information about the anaconda-patches
mailing list