Merge lp:~soren/nova/locale-friendly-tests into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Rejected |
---|---|
Rejected by: | Soren Hansen |
Proposed branch: | lp:~soren/nova/locale-friendly-tests |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
12 lines (+1/-1) 1 file modified
nova/twistd.py (+1/-1) |
To merge this branch: | bzr merge lp:~soren/nova/locale-friendly-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cory Wright (community) | Needs Information | ||
Review via email: mp+52990@code.launchpad.net |
Commit message
Call FLAGS.GetHelp() instead of str(FLAGS). Otherwise, non-ascii characters (like in translated strings) will cause tests to fail.
To post a comment you must log in.
Unmerged revisions
- 784. By Soren Hansen
-
Call FLAGS.GetHelp() instead of str(FLAGS). Otherwise, non-ascii characters (like in translated strings) will cause tests to fail.
In the gflags.FlagValues class, which is what nova.flags. FlagValues inherits from, the FlagValues. __str__ () method already calls GetHelp():
def __str__(self):
"""Generates a help string for all known flags."""
return self.GetHelp()
Am I missing something?