From b4e148b8857c34e3d05cf47667f68604d379a546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Seman=C4=8D=C3=ADk?= Date: Tue, 29 Apr 2014 23:20:49 +0200 Subject: [PATCH 1/2] Fixed wrong Python object name for UTC --- bson/_cbsonmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bson/_cbsonmodule.c b/bson/_cbsonmodule.c index 733ce3de43..d1ea0d6b74 100644 --- a/bson/_cbsonmodule.c +++ b/bson/_cbsonmodule.c @@ -1775,7 +1775,7 @@ static PyObject* get_value(PyObject* self, const char* buffer, unsigned* positio Py_DECREF(args); goto invalid; } - utc_type = _get_object(state->UTC, "bson.tz_util", "UTC"); + utc_type = _get_object(state->UTC, "bson.tz_util", "utc"); if (!utc_type || PyDict_SetItemString(kwargs, "tzinfo", utc_type) == -1) { Py_DECREF(replace); Py_DECREF(args); From bd3483fc99c6608d65d44521b82f92d363eb2fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Seman=C4=8D=C3=ADk?= Date: Wed, 30 Apr 2014 00:06:17 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Added=20Jaroslav=20Seman=C4=8D=C3=ADk=20(gi?= =?UTF-8?q?rogiro)=20to=20contributors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/contributors.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/contributors.rst b/doc/contributors.rst index 1a3bc67674..3488fc8cdc 100644 --- a/doc/contributors.rst +++ b/doc/contributors.rst @@ -69,3 +69,4 @@ The following is a list of people who have contributed to - Yuchen Ying (yegle) - Kyle Erf (3rf) - Luke Lovett (lovett89) +- Jaroslav Semančík (girogiro)