Remove tools/flakes.py

Remove it as it is not needed.

Change-Id: Ib9308b880193aafb618120b9782d4863635d9fc3
This commit is contained in:
Vladyslav Drok 2015-06-12 15:10:07 +03:00
parent 7916ff927a
commit dfc44ca6a9

View File

@ -1,23 +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()