Modify ↓
Opened 5 years ago
Closed 5 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: |
Description
Plugin fails in Python 3:
Traceback (most recent call last): File "trac\web\main.py", line 617, in dispatch_request dispatcher.dispatch(req) File "trac\web\main.py", line 303, in dispatch raise e File "trac\web\main.py", line 253, in dispatch self._post_process_request(req, *resp) File "trac\web\main.py", line 471, in _post_process_request resp = f.post_process_request(req, *resp) File "pullrequests\web_ui.py", line 120, in post_process_request self._append_pr_links(req, data) File "pullrequests\web_ui.py", line 126, in _append_pr_links items = PullRequest.select(self.env, ticket=str(ticket.id)) File "pullrequests\model.py", line 93, in select for name, value in sorted(kwargs.iteritems()): AttributeError: 'dict' object has no attribute 'iteritems'
Attachments (0)
Note: See
TracTickets for help on using
tickets.
In 17663: