Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit 697a70c

Browse files
committed
Fixed typo in exception type
1 parent 34ff855 commit 697a70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

of_client/pox_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def send_to_switch(self,packet):
378378
## HANDLE PACKETS SEND ON LINKS THAT HAVE TIMED OUT
379379
try:
380380
self.switches[switch]['connection'].send(msg)
381-
except Runtimerror, e:
381+
except RuntimeError, e:
382382
print "ERROR:send_to_switch: %s to switch %d" % (str(e),switch)
383383
# TODO - ATTEMPT TO RECONNECT SOCKET
384384
except KeyError, e:

0 commit comments

Comments
 (0)