From: david-sarah Date: Mon, 1 Aug 2011 00:52:09 +0000 (-0700) Subject: src/allmydata/__init__.py: suppress a spurious warning from 'bin/tahoe --version... X-Git-Url: https://git.rkrishnan.org/pf/content/frontends/htmlfontify-example.html?a=commitdiff_plain;h=a85a462a7a5764137b750167671ed93a3d25207b;p=tahoe-lafs%2Ftahoe-lafs.git src/allmydata/__init__.py: suppress a spurious warning from 'bin/tahoe --version[-and-path]' about twisted-web and twisted-core packages. --- diff --git a/src/allmydata/__init__.py b/src/allmydata/__init__.py index c404276c..439fb925 100644 --- a/src/allmydata/__init__.py +++ b/src/allmydata/__init__.py @@ -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()