diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-06-11 18:43:09 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-06-11 18:43:09 +0000 |
| commit | 109e1b525dc96fd2d523dbc41c018ee975030e82 (patch) | |
| tree | c33556b56380515caca0219f49e4f2f69bb3dcb8 /openstack/common/gettextutils.py | |
| parent | 165b98415d3949f8a9dddbdbc1f304fb7d257718 (diff) | |
| parent | 7119e29cb535426c587eaf2cfc2cfcd11a422df0 (diff) | |
| download | oslo-109e1b525dc96fd2d523dbc41c018ee975030e82.tar.gz oslo-109e1b525dc96fd2d523dbc41c018ee975030e82.tar.xz oslo-109e1b525dc96fd2d523dbc41c018ee975030e82.zip | |
Merge "Enable hacking H404 test."
Diffstat (limited to 'openstack/common/gettextutils.py')
| -rw-r--r-- | openstack/common/gettextutils.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openstack/common/gettextutils.py b/openstack/common/gettextutils.py index d6b5f10..0e27425 100644 --- a/openstack/common/gettextutils.py +++ b/openstack/common/gettextutils.py @@ -75,9 +75,10 @@ def get_lazy_gettext(domain): """ def _lazy_gettext(msg): - """ - Create and return a Message object encapsulating a string - so that we can translate it later when needed. + """Create and return a Message object. + + Message encapsulates a string so that we can translate it later when + needed. """ return Message(msg, domain) @@ -207,8 +208,7 @@ class LocaleHandler(logging.Handler): """ def __init__(self, locale, target): - """ - Initialize a LocaleHandler + """Initialize a LocaleHandler :param locale: locale to use for translating messages :param target: logging.Handler object to forward |
