v.licheni.net
/
stack
/
conf
/
vim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6c9d0c3c317f0fbd06cc8764fd91c8e01a9ec762
[stack/conf/vim.git]
/
addons
/
TagHighlight
/
plugin
/
TagHighlight
/
version_check.py
1
try:
2
import import_check
3
import sys
4
if sys.hexversion < 0x02060000:
5
raise ValueError("Incorrect python version")
6
operational = True
7
except:
8
operational = False
9
10
if operational:
11
sys.stdout.write("OK\nVERSION:%s\n" % sys.version)
12
else:
13
# May not have imported sys
14
import sys
15
sys.stdout.write("NOT OK\nVERSION:%s\n" % sys.version)