mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 22:57:56 -05:00
best practice import order; avoid return after else
This commit is contained in:
parent
027d93ac70
commit
21e4795b0c
3 changed files with 4 additions and 5 deletions
|
@ -10,9 +10,9 @@
|
|||
# 09/07/17 6175 tgurney Override messageReceived
|
||||
#
|
||||
|
||||
import traceback
|
||||
import dynamicserialize
|
||||
from awips.dataaccess.PyNotification import PyNotification
|
||||
import traceback
|
||||
|
||||
|
||||
class PyGeometryNotification(PyNotification):
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
#
|
||||
#
|
||||
|
||||
from thrift.protocol.TProtocol import *
|
||||
from thrift.protocol.TBinaryProtocol import *
|
||||
import struct
|
||||
import numpy
|
||||
from thrift.protocol.TProtocol import *
|
||||
from thrift.protocol.TBinaryProtocol import *
|
||||
|
||||
FLOAT = 64
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ class GridParmInfo(object):
|
|||
" RateParm: " + str(self.rateParm) + \
|
||||
" GridType: " + self.gridType
|
||||
return out
|
||||
else:
|
||||
return "<Invalid>"
|
||||
|
||||
def __eq__(self, other):
|
||||
|
|
Loading…
Add table
Reference in a new issue