explicitly require python 3.2 on source host
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
e1b2b9e65f
commit
81660b5d64
2 changed files with 7 additions and 0 deletions
|
@ -206,6 +206,12 @@ if __name__ == "__main__":
|
|||
import re
|
||||
import sys
|
||||
|
||||
cdistpythonversion = '3.2'
|
||||
if sys.version < cdistpythonversion:
|
||||
print('Cdist requires Python >= ' + cdistpythonversion +
|
||||
' on the source host.')
|
||||
sys.exit(1)
|
||||
|
||||
# Ensure our /lib/ is included into PYTHON_PATH
|
||||
sys.path.insert(0, os.path.abspath(
|
||||
os.path.join(os.path.dirname(os.path.realpath(__file__)), '../lib')))
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
* Feature: __addifnosuchline supports matching on
|
||||
regular expressions (Daniel Maher)
|
||||
* Documentation: (Re)write of the tutorial
|
||||
* Cleanup: Explicitly require Python >= 3.2 (do not fail implicitly)
|
||||
|
||||
2.0.4: 2011-11-18
|
||||
* Bugfix core: Remove traceback when sending SIGINT (aka Ctrl-C)
|
||||
|
|
Loading…
Reference in a new issue