Django

Code

Changeset 5060

Show
Ignore:
Timestamp:
04/22/07 20:55:45 (2 years ago)
Author:
adrian
Message:

Fixed #4106 -- Fixed typo in datastructures.py. Thanks, Amr Mostafa

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/utils/datastructures.py

    r4744 r5060  
    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]