[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Raise NameError and TypeError (bug #15830)
noreply at xfce.org
noreply at xfce.org
Wed Jan 15 12:20:25 CET 2020
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit a5da8a4b5abb19dc88616dbe60974162041f2888
Author: Olivier Duchateau <duchateau.olivier at gmail.com>
Date: Thu Aug 15 10:31:34 2019 +0200
Raise NameError and TypeError (bug #15830)
Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
src/xfce4-screensaver-configure | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/xfce4-screensaver-configure b/src/xfce4-screensaver-configure
index 585ae69..f0af794 100755
--- a/src/xfce4-screensaver-configure
+++ b/src/xfce4-screensaver-configure
@@ -711,17 +711,16 @@ if __name__ == "__main__":
args = parser.parse_args()
graphical = not args.check
+ primary = _("Unable to configure screensaver")
saver = args.screensaver
if saver is None:
- show_fatal(primary, _("Screensaver required.") % saver)
+ show_fatal(primary, _("Screensaver required."))
sys.exit(1)
if saver.startswith("screensavers-"):
saver = saver[13:]
- primary = _("Unable to configure screensaver")
-
fname = get_filename(saver)
if fname is None:
show_fatal(primary, _("File not found: %s") % saver)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list