src/allmydata/__init__.py: suppress a spurious warning from 'bin/tahoe --version[-and-path]' about twisted-web and twisted-core packages.

This commit is contained in:
david-sarah 2011-07-31 17:52:09 -07:00
parent 16fd14a78a
commit a85a462a7a

View File

@ -270,7 +270,7 @@ def cross_check(pkg_resources_vers_and_locs, imported_vers_and_locs_list):
errors = []
not_pkg_resourceable = set(['sqlite3', 'python', 'platform', __appname__.lower()])
not_import_versionable = set(['zope.interface', 'mock', 'pyasn1'])
ignorable = set(['argparse', 'pyutil', 'zbase32', 'distribute'])
ignorable = set(['argparse', 'pyutil', 'zbase32', 'distribute', 'twisted-web', 'twisted-core'])
for name, (imp_ver, imp_loc, imp_comment) in imported_vers_and_locs_list:
name = name.lower()