Ticket #4106: datastructures_multivaluedict_typo.diff

File datastructures_multivaluedict_typo.diff, 673 bytes (added by Amr Mostafa, 17 years ago)
  • django/utils/datastructures.py

     
    211211    def update(self, *args, **kwargs):
    212212        "update() extends rather than replaces existing key lists. Also accepts keyword args."
    213213        if len(args) > 1:
    214             raise TypeError, "update expected at most 1 arguments, got %d", len(args)
     214            raise TypeError, "update expected at most 1 arguments, got %d" % len(args)
    215215        if args:
    216216            other_dict = args[0]
    217217            if isinstance(other_dict, MultiValueDict):
Back to Top