Permalink
Browse files

Disable output buffering in python scripts

Buffering causes output from system commands to be displayed out of
sequence with messages printed directly from the script, which makes the
script's output difficult to understand.
  • Loading branch information...
1 parent 4d0d36e commit a6fd8a927670d459d23dcdcb8dc38998086a008d @dregad dregad committed May 22, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 docbook-manual-repo.py
  2. +1 −1 docbook-manual.py
  3. +1 −1 irclogs.py
View
2 docbook-manual-repo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python -u
# Integrates with docbook-manual.py to build manuals for all tagged
# versions and development branches in the Git repo
View
2 docbook-manual.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python -u
import errno
import getopt
View
2 irclogs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/python -u
# Processes the Supybot ChannelLogger's log directory and generates
# html pages for the IRC logs

0 comments on commit a6fd8a9

Please sign in to comment.