fix missing traceback import
diff --git a/xos/synchronizers/base/event_loop.py b/xos/synchronizers/base/event_loop.py
index 3347025..d9fc3ea 100644
--- a/xos/synchronizers/base/event_loop.py
+++ b/xos/synchronizers/base/event_loop.py
@@ -9,6 +9,7 @@
import json
import pdb
import pprint
+import traceback
from datetime import datetime
@@ -466,7 +467,6 @@
try:
diag = Diag.objects.filter(name="foo").first()
except Exception, e:
- import traceback
from django import db
if "connection already closed" in traceback.format_exc():
logger.error("XXX connection already closed")