From 8f215dfefb99c4c6a2c50e003de64b52fe992128 Mon Sep 17 00:00:00 2001 From: Gordon Messmer Date: Wed, 29 Oct 2014 19:35:28 -0700 Subject: Remove trailing white space. --- src/lib/Bcfg2/Client/Tools/Systemd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/Bcfg2/Client/Tools/Systemd.py b/src/lib/Bcfg2/Client/Tools/Systemd.py index d2439f64d..3b60c8285 100644 --- a/src/lib/Bcfg2/Client/Tools/Systemd.py +++ b/src/lib/Bcfg2/Client/Tools/Systemd.py @@ -16,8 +16,8 @@ class Systemd(Bcfg2.Client.Tools.SvcTool): def get_svc_name(self, service): """Append .service to name if name doesn't specify a unit type.""" svc = service.get('name') - if svc.endswith(('.service', '.socket', '.device', '.mount', - '.automount', '.swap', '.target', '.path', + if svc.endswith(('.service', '.socket', '.device', '.mount', + '.automount', '.swap', '.target', '.path', '.timer', '.snapshot', '.slice', '.scope')): return svc else: -- cgit v1.2.3-1-g7c22