django-modeltranslation/travis.py
Matthias Kestenholz b6cc6888af Remove the unsupported use-mirrors pip option
Remove the duplicated make_option import

Pin flake8's version to <3 as long as we are still supporting Python 2.6

Stop complaining (F999) about the assert

Fix travis.py for now

This will fail again as soon as Django 2.0 is released.
2016-09-14 12:35:58 +02:00

9 lines
230 B
Python
Executable file

#!/usr/bin/env python
import sys
version = sys.argv[1]
if version.startswith('http'):
print(version)
else:
next_version = version[:-1] + '%d' % (int(version[-1]) + 1)
print('Django>=%s,<%s' % (version, next_version))