Monkey patch to try and make print flush properly.
This commit is contained in:
parent
c40499ab05
commit
c5af747da9
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ from optparse import OptionParser
|
||||||
from urllib2 import HTTPError
|
from urllib2 import HTTPError
|
||||||
from contextlib import closing
|
from contextlib import closing
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
|
||||||
forge_dir = os.path.dirname(os.path.abspath(__file__))
|
forge_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
from forge import reset_logger, load_version, zip_folder, zip_create, inject_version, build_forge_dev
|
from forge import reset_logger, load_version, zip_folder, zip_create, inject_version, build_forge_dev
|
||||||
from changelog import make_changelog
|
from changelog import make_changelog
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ import os, os.path, sys, zipfile
|
||||||
import shutil, glob, fnmatch, subprocess
|
import shutil, glob, fnmatch, subprocess
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
|
||||||
forge_dir = os.path.dirname(os.path.abspath(__file__))
|
forge_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
from forge import apply_forge_patches
|
from forge import apply_forge_patches
|
||||||
|
|
Loading…
Reference in a new issue