Merge "Fix failing test case for PY3"

This commit is contained in:
Jenkins 2017-03-10 03:18:39 +00:00 committed by Gerrit Code Review
commit cc7cd31c1a
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def format_parameters(params, parse_semicolon=True):
def remove_unspecified_items(attrs):
"""Remove the items that don't have any values."""
for key, value in attrs.items():
for key, value in list(attrs.items()):
if not value:
del attrs[key]
return attrs