From: Alfredo Deza Date: Fri, 13 Sep 2013 16:48:50 +0000 (-0400) Subject: update the changelog X-Git-Tag: 0.0.2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e728f2bf89c351e6ac9d18fcecbea16a8c01f2b3;p=remoto.git update the changelog --- diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..9e12ec0 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,7 @@ + +0.0.2 +----- +* Allow a context manager for running one-off commands with the connection + object. +* ``process.run`` can now take in a timeout value so that it does not hang in + remote processes diff --git a/remoto/connection.py b/remoto/connection.py index 9d9370e..e0045c3 100644 --- a/remoto/connection.py +++ b/remoto/connection.py @@ -27,6 +27,10 @@ class Connection(object): self.gateway.exit() +# +# FIXME this is getting ridiculous +# + class FakeRemoteLogger: def error(self, *a, **kw): @@ -37,3 +41,6 @@ class FakeRemoteLogger: def info(self, *a, **kw): pass + + def warning(self, *a, **kw): + pass