]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Dictionary keys doesn't support slicing. That's throw an error in the program 151/head
authorLuis González Fernández <luisgf@luisgf.es>
Thu, 5 May 2016 19:02:52 +0000 (21:02 +0200)
committerLuis González Fernández <luisgf@luisgf.es>
Thu, 5 May 2016 19:02:52 +0000 (21:02 +0200)
commit9bb9ba5394305ef42d57b75f217bcad84f02b681
tree33bc684c5308ed6acf0752ea8f28ecd027a957f5
parent9d9c9f520d4d15a8c2759dbeabad15e4dec9043e
Dictionary keys doesn't support slicing. That's throw an error in the program
if the 'keyname' parameter is not passed.

Doing a list(dict())[0] solve this problem.
dns/message.py