Exit early if not Python >= 2.6, < 3
This commit is contained in:
parent
1cfddf3d90
commit
9ff3175b44
@ -12,7 +12,7 @@ Another great release.
|
||||
|
||||
**Changes**
|
||||
|
||||
- None yet.
|
||||
- Exit early if not Python >= 2.6, < 3.
|
||||
|
||||
|
||||
0.1.0a3 (2010-08-03)
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
import sys
|
||||
if not (2, 6) <= sys.version_info < (3,):
|
||||
sys.exit(u'Mopidy requires Python >= 2.6, < 3')
|
||||
|
||||
from mopidy import settings as raw_settings
|
||||
|
||||
def get_version():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user