Merge "Bug Fix lp:825493"

This commit is contained in:
Jenkins 2011-08-15 17:00:37 +00:00 committed by Gerrit Code Review
commit 78c718a9f5

View File

@ -3,6 +3,12 @@ import logging
import socket
import urllib
# See http://code.google.com/p/python-nose/issues/detail?id=373
# The code below enables glance.client standalone to work with i18n _() blocks
import __builtin__
if not hasattr(__builtin__, '_'):
setattr(__builtin__, '_', lambda x: x)
from glance.common import exception