summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJochen Schmitt <Jochen@herr-schmitt.de>2010-09-16 20:05:54 +0200
committerJesse Keating <jkeating@redhat.com>2010-09-19 11:54:19 -0700
commit813ad6cee2034615a5571126bbd1c8886d5cfe2e (patch)
tree3ff2420e98f69523459b7d97f8c2da98153a0a78 /src
parent67146eef3f613c8d1c3ad7cfde2a69640a2df9bb (diff)
downloadfedora-packager-813ad6cee2034615a5571126bbd1c8886d5cfe2e.zip
fedora-packager-813ad6cee2034615a5571126bbd1c8886d5cfe2e.tar.gz
fedora-packager-813ad6cee2034615a5571126bbd1c8886d5cfe2e.tar.xz
Remove stream keyword in logging.StreamHandler
Hello Jesse, using the stream keyword caused an error on python 2.6. So I have remove this keyword. Best Regards: Jochen Schmitt
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fedpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index ec54351..4f707b8 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -1088,7 +1088,7 @@ packages will be built sequentially.
formatter = logging.Formatter('%(message)s')
# have to create a filter for the stdout stream to filter out WARN+
myfilt = StdoutFilter()
- stdouthandler = logging.StreamHandler(stream=sys.stdout)
+ stdouthandler = logging.StreamHandler(sys.stdout)
stdouthandler.addFilter(myfilt)
stdouthandler.setFormatter(formatter)
stderrhandler = logging.StreamHandler()