[PATCH] Fix misuse of or ""
Vratislav Podzimek
vpodzime at redhat.com
Tue Jun 4 08:25:08 UTC 2013
On Mon, 2013-06-03 at 13:40 -0700, Brian C. Lane wrote:
> 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
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list