Lines Matching full:verbose
7 # Verbose options
17 def versioncheck(package, url, version, verbose=0): argument
18 ok, newversion, fp = checkonly(package, url, version, verbose)
19 if verbose > VERBOSE_NORMAL:
28 if verbose > VERBOSE_SILENT:
35 def checkonly(package, url, version, verbose=0): argument
36 if verbose >= VERBOSE_EACHFILE:
39 ok, newversion, fp = _check1version(package, url, version, verbose)
42 ok, newversion, fp = _check1version(package, u, version, verbose)
43 if ok >= 0 and verbose < VERBOSE_CHECKALL:
47 def _check1version(package, url, version, verbose=0): argument
48 if verbose >= VERBOSE_EACHFILE:
53 if verbose >= VERBOSE_EACHFILE:
59 if verbose >= VERBOSE_EACHFILE:
65 if verbose >= VERBOSE_EACHFILE:
69 if verbose >= VERBOSE_EACHFILE:
76 print '--- TEST VERBOSE=1'
78 versioncheck('VersionTestPackage', _TESTDIR+'Version10.txt', '1.0', verbose=1)
80 versioncheck('VersionTestPackage', _TESTDIR+'Version11.txt', '1.0', verbose=1)
82 versioncheck('VersionTestPackage', _TESTDIR+'nonexistent.txt', '1.0', verbose=1)
85 versioncheck('VersionTestPackage', versfiles, '1.0', verbose=1)
86 print '--- TEST VERBOSE=2'
88 versioncheck('VersionTestPackage', _TESTDIR+'Version10.txt', '1.0', verbose=2)
90 versioncheck('VersionTestPackage', _TESTDIR+'Version11.txt', '1.0', verbose=2)
92 versioncheck('VersionTestPackage', _TESTDIR+'nonexistent.txt', '1.0', verbose=2)
95 versioncheck('VersionTestPackage', versfiles, '1.0', verbose=2)