summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rwxr-xr-xrepo8
1 files changed, 4 insertions, 4 deletions
diff --git a/repo b/repo
index b8c414be..3fd0166e 100755
--- a/repo
+++ b/repo
@@ -139,10 +139,6 @@ def _print(*objects, **kwargs):
139 139
140# Python version check 140# Python version check
141ver = sys.version_info 141ver = sys.version_info
142if ver[0] == 3:
143 _print('warning: Python 3 support is currently experimental. YMMV.\n'
144 'Please use Python 2.6 - 2.7 instead.',
145 file=sys.stderr)
146if (ver[0], ver[1]) < MIN_PYTHON_VERSION: 142if (ver[0], ver[1]) < MIN_PYTHON_VERSION:
147 _print('error: Python version %s unsupported.\n' 143 _print('error: Python version %s unsupported.\n'
148 'Please use Python 2.6 - 2.7 instead.' 144 'Please use Python 2.6 - 2.7 instead.'
@@ -768,4 +764,8 @@ def main(orig_args):
768 764
769 765
770if __name__ == '__main__': 766if __name__ == '__main__':
767 if ver[0] == 3:
768 _print('warning: Python 3 support is currently experimental. YMMV.\n'
769 'Please use Python 2.6 - 2.7 instead.',
770 file=sys.stderr)
771 main(sys.argv[1:]) 771 main(sys.argv[1:])