Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix message & long line
  • Loading branch information
kalrover committed Nov 24, 2016
commit 6d786b54f0457b43c9a360fc798a774a6720e50f
5 changes: 3 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import sys
if sys.version_info >= (3, 0):
Copy link
Copy Markdown
Contributor Author

@kalrover kalrover Nov 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about if sys.version_info[0] == 2 and sys.version_info[1] in [6, 7] ?

sys.stdout.write("Python 3.x is not compatible at this time\n")
sys.stdout.write("Python 3 is not supported, please use Python 2.6 or 2.7\n")
sys.exit(1)

import errno
Expand Down Expand Up @@ -1154,7 +1154,8 @@ def configure_intl(o):
os.rename(tmp_icu, icu_full_path)
shutil.rmtree(icu_tmp_path)
else:
print(' Error: --with-icu-source=%s did not result in an "icu" dir.' % with_icu_source)
print(' Error: --with-icu-source=%s did not result in an "icu" dir.' % \
with_icu_source)
shutil.rmtree(icu_tmp_path)
sys.exit(1)

Expand Down