aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--whatmaps/systemd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/whatmaps/systemd.py b/whatmaps/systemd.py
index 3407128..ef15a26 100644
--- a/whatmaps/systemd.py
+++ b/whatmaps/systemd.py
@@ -1,6 +1,6 @@
# vim: set fileencoding=utf-8 :
#
-# (C) 2014 Guido Günther <agx@sigxcpu.org>
+# (C) 2014,2015 Guido Günther <agx@sigxcpu.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -44,4 +44,4 @@ class Systemd(object):
elif parts[1].endswith('.service'):
return parts[1]
else:
- raise ValueError("Can't parse service name from\n%s" % output)
+ raise ValueError("Can't parse service name from: (%s %s)" % (parts[0], parts[1]))