dee

Named columns don't work in Python3

Bug #1100303 reported by David Callé
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dee
Fix Released
Undecided
Unassigned
dee (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Using Python3, model.append(named='', columns='') fails with:

  File "unity_test_daemon.py", line 66, in on_search_changed
    self.update_results_model(search_string, model)
  File "unity_test_daemon.py", line 79, in update_results_model
    result_type=Unity.ResultType.DEFAULT)
  File "/usr/lib/python3/dist-packages/gi/overrides/Dee.py", line 119, in append
    return self.append_row (self._build_row(args, kwargs))
  File "/usr/lib/python3/dist-packages/gi/overrides/Dee.py", line 82, in _build_row
    for col_name, arg in kwargs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

It works fine using Python2.

Attached, a scope daemon to replicate the issue.
(compatible with both Python versions)

Related branches

Revision history for this message
David Callé (davidc3) wrote :
Changed in dee:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dee - 1.2.0daily13.02.07-0ubuntu1

---------------
dee (1.2.0daily13.02.07-0ubuntu1) raring; urgency=low

  [ Michal Hruby ]
  * Named columns don't work in Python3 (LP: #1100303)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 400
 -- Automatic PS uploader <email address hidden> Thu, 07 Feb 2013 06:19:07 +0000

Changed in dee (Ubuntu):
status: New → Fix Released
Michal Hruby (mhr3)
Changed in dee:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.