Opened 3 years ago

Closed 3 years ago

#13741 closed defect (fixed)

Python3: AttributeError: 'dict' object has no attribute 'iteritems'

Reported by: lucid Owned by: lucid
Priority: normal Component: PullRequestsPlugin
Severity: normal Keywords: python3
Cc: Trac Release:


Plugin fails in Python 3:

Traceback (most recent call last):
  File "trac\web\", line 617, in dispatch_request
  File "trac\web\", line 303, in dispatch
    raise e
  File "trac\web\", line 253, in dispatch
    self._post_process_request(req, *resp)
  File "trac\web\", line 471, in _post_process_request
    resp = f.post_process_request(req, *resp)
  File "pullrequests\", line 120, in post_process_request
    self._append_pr_links(req, data)
  File "pullrequests\", line 126, in _append_pr_links
    items =, ticket=str(
  File "pullrequests\", line 93, in select
    for name, value in sorted(kwargs.iteritems()):
AttributeError: 'dict' object has no attribute 'iteritems'

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by lucid

Resolution: fixed
Status: newclosed

In 17663:

PullRequestsPlugin: Python3 compatibility.
(fix #13741)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain lucid.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.