]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
test: Make gen-threads work with python3
authorJesse Rosenthal <jrosenthal@jhu.edu>
Fri, 31 Oct 2014 17:33:25 +0000 (13:33 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 2 Nov 2014 18:43:39 +0000 (19:43 +0100)
python3 doesn't allow dictionaries to be initialized with non-string
keywords. This presents problems on systems in which "python" means
"python3". We instead initalize the dictionary using the dict
comprehension and then update it with the values from the tree. This
will work with both python2 and python3.


No differences found