Commit 5f116cdd authored by Greg Wilson's avatar Greg Wilson Committed by GitHub
Browse files

Merge pull request #85 from gdevenyi/gh-pages

Import future print in case of python2 environment
parents d02d8a77 f3b921a5
......@@ -6,7 +6,7 @@ import glob
from optparse import OptionParser
from util import Reporter, read_markdown, IMAGE_FILE_SUFFIX
from __future__ import print_function
def main():
"""Main driver."""
......
......@@ -5,7 +5,7 @@
import sys
import os
from __future__ import print_function
ROOT_AUTHORS = '''\
FIXME: list authors' names and email addresses.
......
......@@ -11,6 +11,7 @@ import re
from optparse import OptionParser
from util import Reporter, load_yaml, require
from __future__ import print_function
# Import this way to produce a more useful error message.
try:
......
......@@ -2,6 +2,7 @@ import sys
import os
import json
from subprocess import Popen, PIPE
from __future__ import print_function
# Import this way to produce a more useful error message.
try:
......
......@@ -9,7 +9,7 @@ import os
import re
from datetime import date
from util import Reporter, split_metadata, load_yaml, check_unwanted_files
from __future__ import print_function
# Metadata field patterns.
EMAIL_PATTERN = r'[^@]+@[^@]+\.[^@]+'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment