Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #52 from kwlzn/kwlzn/none_principal_fix
Browse files Browse the repository at this point in the history
Allow `authGSSClientInit` principal kwarg to be None.
  • Loading branch information
dreness authored Oct 13, 2016
2 parents ec6171f + 8da60e2 commit a47bac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kerberos.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static PyObject* authGSSClientInit(PyObject* self, PyObject* args, PyObject* key
int result = 0;

if (! PyArg_ParseTupleAndKeywords(
args, keywds, "s|slOO", kwlist,
args, keywds, "s|zlOO", kwlist,
&service, &principal, &gss_flags, &pydelegatestate, &pymech_oid
)) {
return NULL;
Expand Down

0 comments on commit a47bac7

Please sign in to comment.