Skip to content

Commit 468088d

Browse files
committed
Merge branch 'eagain_helpers' into typing
2 parents a80e73f + 256c9ec commit 468088d

File tree

3 files changed

+11
-83
lines changed

3 files changed

+11
-83
lines changed

ssh2/agent.c

Lines changed: 9 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/agent.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cdef int auth_identity(const char *username,
3131
c_ssh2.libssh2_agent_publickey **identity,
3232
c_ssh2.libssh2_agent_publickey *prev) except -1 nogil
3333

34-
cdef void clear_agent(c_ssh2.LIBSSH2_AGENT *agent) nogil
34+
cdef void clear_agent(c_ssh2.LIBSSH2_AGENT *agent) noexcept nogil
3535

3636
cdef int agent_auth(char * _username,
3737
c_ssh2.LIBSSH2_AGENT * agent) except 1 nogil

ssh2/agent.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ cdef c_ssh2.LIBSSH2_AGENT * init_connect_agent(
8585
return agent
8686

8787

88-
cdef void clear_agent(c_ssh2.LIBSSH2_AGENT *agent) nogil:
88+
cdef void clear_agent(c_ssh2.LIBSSH2_AGENT *agent) noexcept nogil:
8989
c_ssh2.libssh2_agent_disconnect(agent)
9090
c_ssh2.libssh2_agent_free(agent)
9191

0 commit comments

Comments
 (0)