Remove the list cast

This commit is contained in:
Pedro Algarvio 2014-12-02 04:58:08 +00:00
parent afaf028f9a
commit 04302a4fbb

View File

@ -1181,7 +1181,7 @@ def clean_kwargs(**kwargs):
passing the kwargs forward wholesale.
'''
ret = {}
for key, val in six.iteritems(list(kwargs)):
for key, val in six.iteritems(kwargs):
if not key.startswith('__pub'):
ret[key] = val
return ret