Skip to content

Commit

Permalink
Fix undefined variable in get_all_statuses()
Browse files Browse the repository at this point in the history
Resolves: #241
Signed-off-by: Jordan Borean <jborean93@gmail.com>
[rharwood@redhat.com: commit message tweaks]
  • Loading branch information
jborean93 authored and frozencemetery committed May 10, 2021
1 parent a85972e commit 314c3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gssapi/raw/misc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class GSSError(Exception, metaclass=GSSErrorRegistry):
msg, ctx, cont = _display_status(code, is_maj,
message_context=ctx)
res.append(msg.decode(msg_encoding))
except ValueError:
except ValueError as e:
res.append(u'{0} Decoding code: {1}'.format(e, code))
cont = False

Expand Down

0 comments on commit 314c3d1

Please sign in to comment.