Skip to content

Commit 62b6304

Browse files
author
borisz
committed
Raise country code counter from 251 to 253
1 parent 39e2864 commit 62b6304

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Raise country code counter from 251 to 253 ( Boris Zentner )
12
!! record_by_addr and record_by_name return None instead of throwing a
23
exception. See test_city.py ( Boris Zentner )
34
* Add a py_geoip.error Exception object. (Boris Zentner)

py_GeoIP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ initGeoIP(void)
316316
PyGeoIPError = PyErr_NewException("py_geoip.error", NULL, NULL);
317317
PyDict_SetItemString(d, "error", PyGeoIPError);
318318

319-
int total_ccodes = 251;
319+
int total_ccodes = 253;
320320

321321
PyObject *ccode = PyTuple_New(total_ccodes);
322322
PyObject *cname = PyDict_New();

0 commit comments

Comments
 (0)