Merge "Use print function for python3"

This commit is contained in:
Jenkins 2013-07-20 16:50:44 +00:00 committed by Gerrit Code Review
commit aa1ce100be

View File

@ -50,6 +50,7 @@
# makes it suitable for running in a cron job with only stdout # makes it suitable for running in a cron job with only stdout
# redirected to a log, and also avoids one broken project preventing # redirected to a log, and also avoids one broken project preventing
# caching of requirements for others. # caching of requirements for others.
from __future__ import print_function
import argparse import argparse
import datetime import datetime
@ -122,7 +123,7 @@ class Mirror(object):
def debug(self, msg): def debug(self, msg):
if self.args.debug: if self.args.debug:
print msg print(msg)
def process_http_requirements(self, reqlist, pip_cache_dir, pip): def process_http_requirements(self, reqlist, pip_cache_dir, pip):
new_reqs = [] new_reqs = []