PageRenderTime 323ms CodeModel.GetById 161ms app.highlight 1ms RepoModel.GetById 160ms app.codeStats 0ms

/Tools/versioncheck/_checkversion.py

http://unladen-swallow.googlecode.com/
Python | 16 lines | 15 code | 0 blank | 1 comment | 0 complexity | 7db69cfc4804de1483e9bcb529e98891 MD5 | raw file
 1"""This file (which is sourced, not imported) checks the version of the
 2"versioncheck" package. It is also an example of how to format your own
 3_checkversion.py file"""
 4
 5import pyversioncheck
 6
 7_PACKAGE="versioncheck"
 8_VERSION="1.0"
 9_URL="http://www.cwi.nl/~jack/versioncheck/curversion.txt"
10
11try:
12    _myverbose=VERBOSE
13except NameError:
14    _myverbose=1
15
16pyversioncheck.versioncheck(_PACKAGE, _URL, _VERSION, verbose=_myverbose)