Skip to content

Commit c924bea

Browse files
authored
Fix variable referenced before assignment.
1 parent a85972e commit c924bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: gssapi/raw/misc.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class GSSError(Exception, metaclass=GSSErrorRegistry):
309309
msg, ctx, cont = _display_status(code, is_maj,
310310
message_context=ctx)
311311
res.append(msg.decode(msg_encoding))
312-
except ValueError:
312+
except ValueError as e:
313313
res.append(u'{0} Decoding code: {1}'.format(e, code))
314314
cont = False
315315

0 commit comments

Comments
 (0)