mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
code cleanup, unused imports, avoid redefining 'filter' built-in
This commit is contained in:
parent
b3d53cbe5f
commit
14ef8efa0a
6 changed files with 2 additions and 8 deletions
|
@ -109,9 +109,9 @@ def getGeometryDataUpdates(request):
|
|||
calling its subscribe() method
|
||||
"""
|
||||
response = router.getNotificationFilter(request)
|
||||
filter = response.getNotificationFilter()
|
||||
notificationFilter = response.getNotificationFilter()
|
||||
jmsInfo = _getJmsConnectionInfo(response)
|
||||
notifier = PyGeometryNotification(request, filter, requestHost=THRIFT_HOST, **jmsInfo)
|
||||
notifier = PyGeometryNotification(request, notificationFilter, requestHost=THRIFT_HOST, **jmsInfo)
|
||||
return notifier
|
||||
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
from __future__ import print_function
|
||||
from shapely.geometry import box
|
||||
from awips.dataaccess import DataAccessLayer as DAL
|
||||
from awips.ThriftClient import ThriftRequestException
|
||||
|
||||
from awips.test.dafTests import baseDafTestCase
|
||||
from awips.test.dafTests import params
|
||||
import unittest
|
||||
|
||||
#
|
||||
# Tests common to all radar factories
|
||||
|
|
|
@ -3,7 +3,6 @@ from awips.dataaccess import DataAccessLayer as DAL
|
|||
|
||||
from dynamicserialize.dstypes.com.raytheon.uf.common.dataquery.requests import RequestConstraint
|
||||
from awips.test.dafTests import baseDafTestCase
|
||||
import unittest
|
||||
|
||||
#
|
||||
# Test DAF support for airep data
|
||||
|
|
|
@ -4,7 +4,6 @@ from dynamicserialize.dstypes.com.raytheon.uf.common.dataquery.requests import R
|
|||
|
||||
from awips.test.dafTests import baseDafTestCase
|
||||
from awips.test.dafTests import params
|
||||
import unittest
|
||||
|
||||
#
|
||||
# Test DAF support for obs data
|
||||
|
|
|
@ -3,7 +3,6 @@ from awips.dataaccess import DataAccessLayer as DAL
|
|||
|
||||
from awips.test.dafTests import baseRadarTestCase
|
||||
from awips.test.dafTests import params
|
||||
import unittest
|
||||
|
||||
#
|
||||
# Test DAF support for radar graphics data
|
||||
|
|
|
@ -3,7 +3,6 @@ from dynamicserialize.dstypes.com.raytheon.uf.common.dataquery.requests import R
|
|||
|
||||
from awips.test.dafTests import baseRadarTestCase
|
||||
from awips.test.dafTests import params
|
||||
import unittest
|
||||
|
||||
#
|
||||
# Test DAF support for radar grid data
|
||||
|
|
Loading…
Add table
Reference in a new issue