MergeableList.pop() (without any argument) should pop the last element in the list.
Bug #675787 reported by
Eric Casteleijn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
High
|
Eric Casteleijn | ||
desktopcouch (Ubuntu) |
Fix Released
|
High
|
Eric Casteleijn |
Bug Description
pop() does not behave like it does in a regular list:
>>> from desktopcouch.
>>> a = MergeableList(
>>> a.pop()
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: pop() takes exactly 2 arguments (1 given)
>>>
Related branches
lp:~thisfred/desktopcouch/remove-recordtype-from-dict
- Vincenzo Di Somma (community): Approve
- Nicola Larosa (community): Approve
-
Diff: 444 lines (+116/-69)6 files modifieddesktopcouch/contacts/tests/test_record.py (+2/-3)
desktopcouch/records/doc/an_example_application.txt (+1/-1)
desktopcouch/records/record.py (+93/-58)
desktopcouch/records/tests/test_record.py (+17/-5)
desktopcouch/records/tests/test_server.py (+2/-1)
utilities/lint.sh (+1/-1)
Changed in desktopcouch: | |
assignee: | nobody → Eric Casteleijn (thisfred) |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Eric Casteleijn (thisfred) |
status: | New → In Progress |
milestone: | none → natty-alpha-1 |
Changed in desktopcouch (Ubuntu): | |
milestone: | natty-alpha-1 → natty-alpha-2 |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
Changed in desktopcouch (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.