diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-07-27 21:10:37 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-07-27 21:10:37 -0700 |
commit | 5e6df96d21741f6ada2f9c2ba19bc5d3914bc2c2 (patch) | |
tree | ba3af36f4d41359c0e2114aba79597c896a63e93 | |
parent | aab43abbbd95861334e01dfa865798f00bdf5318 (diff) | |
download | swift-bench-5e6df96d21741f6ada2f9c2ba19bc5d3914bc2c2.tar.gz |
Removed unnecessary monkeypatching of __builtin__
Replaced it with explicitly importing the gettext function, which is
significantly more readable.
Change-Id: Ia0a7edcf685fb6e4052a8290367b233169529ab8
-rw-r--r-- | swift/common/bench.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swift/common/bench.py b/swift/common/bench.py index 3b8070b..bc45d80 100644 --- a/swift/common/bench.py +++ b/swift/common/bench.py @@ -22,6 +22,7 @@ import signal import socket import logging from contextlib import contextmanager +from gettext import gettext as _ from optparse import Values import eventlet |