]> rtime.felk.cvut.cz Git - notmuch.git/commit
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)
commit0d40b3795413b9d7d930caa1eb3b700c88fe2614
tree7f79777f07092f09613ef6d3214a7fd70fd3895c
parent207f3bf82102f01fbbda193018e81a82f6c1259d
test: Make gen-threads work with python3

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.
test/gen-threads.py