aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-10-25 16:38:29 +0100
committerGuido Günther <agx@sigxcpu.org>2009-12-24 23:34:10 +0100
commit23814d61677634766b034c939c0480b05faf1617 (patch)
treea05e6491688dcedb33fb049b50c090b11bcd9634
parentf1f3d8e42f8ba94482957a6110c027cedac6055e (diff)
Fix comments
Git-Dch: Ignore
-rw-r--r--gbp/command_wrappers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py
index cd36bf57..6a0edc8a 100644
--- a/gbp/command_wrappers.py
+++ b/gbp/command_wrappers.py
@@ -37,7 +37,7 @@ class Command(object):
self.env = None
def __call(self, args):
- """simply wraps subprocess.call so we can be verbose"""
+ """wraps subprocess.call so we can be verbose and fix python's SIGPIPE handling"""
def default_sigpipe():
"restore default signal handler (http://bugs.python.org/issue1652)"
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
@@ -54,7 +54,7 @@ class Command(object):
run self.cmd adding args as additional arguments
be verbose about errors and encode them in the return value, don't pass
- on exceptons
+ on exceptions
"""
try:
retcode = self.__call(args)