Fix typo in filter arg parser

This commit is contained in:
Garrett Holmstrom
2013-07-05 16:26:37 -07:00
parent 04600c0205
commit 6b2ca7994e

View File

@@ -314,7 +314,7 @@ class AWSQueryRequest(BaseRequest):
flattened[prefixed_key] = item.read()
elif item or item == 0:
flattened[prefixed_key] = str(item)
elif val is EMPTY:
elif item is EMPTY:
flattened[prefixed_key] = ''
else:
raise TypeError('non-flattenable type: ' + args.__class__.__name__)