Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Nov 14, 2013
1 parent 89f0a0c commit 469a01d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion websockets/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def run(self):
yield from self.fail_connection(1002)
except UnicodeDecodeError:
yield from self.fail_connection(1007)
except Exception as exc:
except Exception:
yield from self.fail_connection(1011)
raise
yield from self.close_connection()
Expand Down
1 change: 0 additions & 1 deletion websockets/test_client_server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import logging
import unittest
from unittest.mock import patch

Expand Down

0 comments on commit 469a01d

Please sign in to comment.