browse: avoid using QStandardItem as dictionary keys
commite2b35e86f15b72ac19e228744dfab86a7c5160cd
authorDavid Aguilar <davvid@gmail.com>
Thu, 24 Sep 2015 06:39:48 +0000 (23 23:39 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 24 Sep 2015 06:40:09 +0000 (23 23:40 -0700)
treeb8adc1db976935256a257c96f9bc581ac2f61dcc
parent2a2bf7dc18e2df95fd3b0554114d0db34f102211
browse: avoid using QStandardItem as dictionary keys

Python3 does not allow using QStandardItem instances as dictionary keys.
Work around it by using the item's path instead.

Closes #501
Reported-by: Andrew Chen <andrew.chuanye.chen@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/browse.py
share/doc/git-cola/relnotes/unreleased.rst
share/doc/git-cola/thanks.rst