converted snmpget service to generic linspector service; raising exceptions from all services now when needed args are missing.

This commit is contained in:
Johannes Findeisen 2013-06-10 05:01:40 +02:00
commit b2a68e03c1
5 changed files with 47 additions and 53 deletions

View file

@ -17,6 +17,7 @@ class SshService(Service):
self.command = kwargs["command"]
else:
log.w("There is no command")
raise
def execute(self):
path = os.path.join(os.environ['HOME'], '.ssh', 'id_rsa')