no need to init None to None

This commit is contained in:
Elan Ruusamäe 2013-05-19 00:20:10 +03:00
parent 6949a9fbe4
commit d3a2b1dbbb

View file

@ -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']