Merge "Decode nova-manage args into unicode."

This commit is contained in:
Jenkins
2012-03-06 18:39:05 +00:00
committed by Gerrit Code Review

View File

@@ -2373,6 +2373,10 @@ def main():
for k, v in fn_kwargs.items():
if v is None:
del fn_kwargs[k]
else:
fn_kwargs[k] = v.decode('utf-8')
fn_args = [arg.decode('utf-8') for arg in fn_args]
# call the action with the remaining arguments
try: