test-reconnect: Fix use of undefined symbol.
authorEthan Jackson <ethan@nicira.com>
Sat, 24 Sep 2011 23:19:27 +0000 (16:19 -0700)
committerEthan Jackson <ethan@nicira.com>
Sat, 24 Sep 2011 23:19:27 +0000 (16:19 -0700)
tests/test-reconnect.py

index a4cc9b7d7b8a76e1c36d170119ce76d0d65f62bd..af52c8acb7dfd793e5b6a3222bf89266943cd1e4 100644 (file)
@@ -33,7 +33,7 @@ def error_from_string(s):
     elif s == "ECONNREFUSED":
         return errno.ECONNREFUSED
     elif s == "EOF":
-        return EOF
+        return ovs.reconnect.EOF
     else:
         sys.stderr.write("unknown error '%s'\n" % s)
         sys.exit(1)