Mercurial > cpython-lru_cache-weakref
diff Lib/packaging/command/test.py @ 73569:fff38970e4e3
Remove obsolete verbose arguments from packaging.
Logging replaces verbose arguments. I haven’t fixed the example in
Doc/install/install.rst because I have major fixes and changes to the
oc under way and will fix or remove that example as part of that task.
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Tue, 15 Nov 2011 11:43:20 +0100 |
| parents | 540e278ab646 |
| children |
line wrap: on
line diff
--- a/Lib/packaging/command/test.py Tue Nov 15 10:48:36 2011 +0100 +++ b/Lib/packaging/command/test.py Tue Nov 15 11:43:20 2011 +0100 @@ -60,8 +60,7 @@ self.run_command('build') sys.path.insert(0, build.build_lib) - # Temporary kludge until we remove the verbose arguments and use - # logging everywhere + # XXX maybe we could pass the verbose argument of pysetup here logger = logging.getLogger('packaging') verbose = logger.getEffectiveLevel() >= logging.DEBUG verbosity = verbose + 1
