issue #576: fix Kwargs minor version check.
Unicode kwargs were introduced in Python 2.6.5, not 2.6.0.
This commit is contained in:
parent
333151f7fd
commit
ee62c57c9d
|
@ -27,13 +27,17 @@ Fixes
|
|||
* `#557 <https://github.com/dw/mitogen/issues/557>`_: fix a crash when running
|
||||
on machines with high CPU counts.
|
||||
|
||||
* `#570 <https://github.com/dw/mitogen/issues/570>`_: the ``firewalld`` module
|
||||
internally caches a dbus name that changes across ``firewalld`` restarts,
|
||||
causing a failure if the service is restarted between ``firewalld`` module invocations.
|
||||
|
||||
* `#575 <https://github.com/dw/mitogen/issues/575>`_: fix a crash when
|
||||
rendering an error message to indicate no usable temporary directories could
|
||||
be found.
|
||||
|
||||
* `#570 <https://github.com/dw/mitogen/issues/570>`_: the ``firewalld`` module
|
||||
internally caches a dbus name that changes across ``firewalld`` restarts,
|
||||
causing a failure if the service is restarted between ``firewalld`` module invocations.
|
||||
* `#576 <https://github.com/dw/mitogen/issues/576>`_: fix a crash during
|
||||
startup on SuSE Linux 11, due to an incorrect version compatibility check in
|
||||
the Mitogen code.
|
||||
|
||||
|
||||
Thanks!
|
||||
|
|
|
@ -277,7 +277,7 @@ class Kwargs(dict):
|
|||
self[k.decode()] = v
|
||||
else:
|
||||
self[k] = v
|
||||
elif sys.version_info < (2, 6):
|
||||
elif sys.version_info < (2, 6, 5):
|
||||
def __init__(self, dct):
|
||||
for k, v in dct.iteritems():
|
||||
if type(k) is unicode:
|
||||
|
|
Loading…
Reference in New Issue