Remove tools/flakes.py

The problem this was fixing has been solved in a different way and
the file is no longer used.

Change-Id: I7ac941e04c7d621f5e80aab607b434e30887736f
This commit is contained in:
Ben Nemec 2014-03-11 21:47:04 +00:00
parent 7c923a1e6b
commit 3880cd05f9

View File

@ -1,25 +0,0 @@
"""
wrapper for pyflakes to ignore gettext based warning:
"undefined name '_'"
Synced in from openstack-common
"""
__all__ = ['main']
import sys
import six.moves.builtins as builtins
import pyflakes.api
from pyflakes import checker
def main():
checker.Checker.builtIns = (set(dir(builtins)) |
set(['_']) |
set(checker._MAGIC_GLOBALS))
sys.exit(pyflakes.api.main())
if __name__ == "__main__":
main()