From: Alfredo Deza Date: Mon, 5 Aug 2013 18:15:36 +0000 (-0700) Subject: strip leading/trailing whitespace from function docs X-Git-Tag: v1.2~9^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9afcecf503b599aa69509708a2448b65684403b2;p=ceph-deploy.git strip leading/trailing whitespace from function docs Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/util/context.py b/ceph_deploy/util/context.py index 8c9e07c..ed9a29d 100644 --- a/ceph_deploy/util/context.py +++ b/ceph_deploy/util/context.py @@ -36,7 +36,7 @@ class remote(object): self.client.modules.sys.stdout = StringIO.StringIO() self.client.modules.sys.stderr = StringIO.StringIO() if self.description: - self.logger.info(self.description) + self.logger.info(self.description.strip()) return remote_compile(self.client, self.func) def __exit__(self, e_type, e_val, e_traceback):