summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVladyslav Drok <vdrok@mirantis.com>2015-06-12 15:10:07 +0300
committerVladyslav Drok <vdrok@mirantis.com>2015-06-12 15:20:45 +0300
commitdfc44ca6a9b9dc12a899005d51202741c709c909 (patch)
tree0f54eace95bdcffc34a7c87cd60360d1166d48ec /tools
parent7916ff927a64ca0e951e991943f53276b1f9a1f0 (diff)
downloadironic-dfc44ca6a9b9dc12a899005d51202741c709c909.tar.gz
Remove tools/flakes.py
Remove it as it is not needed. Change-Id: Ib9308b880193aafb618120b9782d4863635d9fc3
Diffstat (limited to 'tools')
-rw-r--r--tools/flakes.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/flakes.py b/tools/flakes.py
deleted file mode 100644
index 6869a4477..000000000
--- a/tools/flakes.py
+++ /dev/null
@@ -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()