Skip to content

Commit e358406

Browse files
committed
Fixed (to a first order of approximation) problem with error messages not bubbling up
1 parent 0b109a2 commit e358406

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ _build/
33
*~
44
getdns.so
55
*.save
6+
doc/_build/
7+
doc/_build/*

getdns.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,6 @@ initgetdns(void)
13621362
{
13631363
PyObject *g;
13641364

1365-
static PyObject *getdns_error;
13661365
if ((g = Py_InitModule("getdns", getdns_methods)) == NULL)
13671366
return;
13681367
getdns_error = PyErr_NewException("getdns.error", NULL, NULL);

0 commit comments

Comments
 (0)