Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[py3] Fixed iterlists usage in QueryDict

  • Loading branch information...
commit a025b75f6c3021ab400224250defa2db37b8122c 1 parent b109ff8
Claude Paroz authored August 13, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/http/__init__.py
4  django/http/__init__.py
@@ -415,14 +415,14 @@ def __delitem__(self, key):
415 415
 
416 416
     def __copy__(self):
417 417
         result = self.__class__('', mutable=True, encoding=self.encoding)
418  
-        for key, value in self.iterlists():
  418
+        for key, value in six.iterlists(self):
419 419
             result.setlist(key, value)
420 420
         return result
421 421
 
422 422
     def __deepcopy__(self, memo):
423 423
         result = self.__class__('', mutable=True, encoding=self.encoding)
424 424
         memo[id(self)] = result
425  
-        for key, value in self.iterlists():
  425
+        for key, value in six.iterlists(self):
426 426
             result.setlist(copy.deepcopy(key, memo), copy.deepcopy(value, memo))
427 427
         return result
428 428
 

0 notes on commit a025b75

Please sign in to comment.
Something went wrong with that request. Please try again.