no need to init None to None

reviewable/pr18780/r1
Elan Ruusamäe 12 years ago
parent 258cf60924
commit 52643e2a4d

@ -390,7 +390,6 @@ class LinuxService(Service):
break
# Locate a tool for runtime service management (start, stop etc.)
self.svc_cmd = None
if location.get('service', None) and os.path.exists("/etc/init.d/%s" % self.name):
# SysV init script
self.svc_cmd = location['service']

Loading…
Cancel
Save