wrap into a class

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-08 04:22:40 +02:00
parent e8a6d89e3c
commit 0dc6af2512

View file

@ -74,7 +74,6 @@ class Cdist:
"""Run something on the remote side and fail is something breaks"""
newargs = ["ssh", "root@" + self.hostname]
newargs.extend(*args)
print(newargs, "bbbbb", self.hostname)
self.run_or_fail(newargs)
def remove_remote_dir(self, destination):