mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
add missing imports
This commit is contained in:
parent
1b68f8800c
commit
da55f86dc0
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
import dynamicserialize
|
||||
from awips.dataaccess.PyNotification import PyNotification
|
||||
import traceback
|
||||
|
||||
|
||||
class PyGeometryNotification(PyNotification):
|
||||
|
@ -27,7 +28,7 @@ class PyGeometryNotification(PyNotification):
|
|||
try:
|
||||
data = self.getData(self.request, list(dataTimes))
|
||||
self.callback(data)
|
||||
except Exception:
|
||||
except ValueError:
|
||||
traceback.print_exc()
|
||||
|
||||
def getData(self, request, dataTimes):
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
# 01/20/11 dgilling Initial Creation.
|
||||
#
|
||||
|
||||
import dynamicserialize
|
||||
|
||||
# TODO: Implement serialization/make deserialization useful.
|
||||
# Deserialization was simply implemented to allow GridLocation objects to be
|
||||
|
|
Loading…
Add table
Reference in a new issue