aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/systemd.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-06-29 19:17:53 +0200
committerGuido Günther <agx@sigxcpu.org>2015-06-29 19:17:53 +0200
commit54ec59d5b35d89d64ebb01b481a412aded5c452e (patch)
tree943dc025c77a34244fbdf5a8b57864c67e59f8ad /whatmaps/systemd.py
parentd0bdc62cddff86b8601bb0e32b8a115be65032ff (diff)
parent57006507c68b99c5e9ee6dcfb526aaae02f1e9b8 (diff)
Merge tag 'v0.0.10' into debian/master
whatmaps 0.0.10
Diffstat (limited to 'whatmaps/systemd.py')
-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]))