mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 22:57:56 -05:00
More relative import fixes
This commit is contained in:
parent
dbd3bfde87
commit
874809179e
7 changed files with 16 additions and 16 deletions
|
@ -26,7 +26,7 @@
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
|
|
||||||
import ActiveTableKey
|
from .ActiveTableKey import ActiveTableKey
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
class ActiveTableRecord(object):
|
class ActiveTableRecord(object):
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
|
|
||||||
import ActiveTableRecord
|
from .ActiveTableRecord import ActiveTableRecord
|
||||||
|
|
||||||
class OperationalActiveTableRecord(ActiveTableRecord.ActiveTableRecord):
|
class OperationalActiveTableRecord(ActiveTableRecord):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(OperationalActiveTableRecord, self).__init__()
|
super(OperationalActiveTableRecord, self).__init__()
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
|
|
||||||
import ActiveTableRecord
|
from .ActiveTableRecord import ActiveTableRecord
|
||||||
|
|
||||||
class PracticeActiveTableRecord(ActiveTableRecord.ActiveTableRecord):
|
class PracticeActiveTableRecord(ActiveTableRecord):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(PracticeActiveTableRecord, self).__init__()
|
super(PracticeActiveTableRecord, self).__init__()
|
||||||
|
|
|
@ -45,10 +45,6 @@ INVALID_VALUE = numpy.float64(-999999)
|
||||||
class Level(object):
|
class Level(object):
|
||||||
|
|
||||||
def __init__(self, levelString=None):
|
def __init__(self, levelString=None):
|
||||||
try:
|
|
||||||
self.id = 0L
|
|
||||||
except SyntaxError:
|
|
||||||
#we are in python 3, no longer a separate long.
|
|
||||||
self.id = 0
|
self.id = 0
|
||||||
self.identifier = None
|
self.identifier = None
|
||||||
self.masterLevel = None
|
self.masterLevel = None
|
||||||
|
|
|
@ -28,7 +28,7 @@ __all__ = [
|
||||||
'stream'
|
'stream'
|
||||||
]
|
]
|
||||||
|
|
||||||
from LocalizationContext import LocalizationContext
|
from .LocalizationContext import LocalizationContext
|
||||||
from LocalizationLevel import LocalizationLevel
|
from .LocalizationLevel import LocalizationLevel
|
||||||
from LocalizationType import LocalizationType
|
from .LocalizationType import LocalizationType
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,11 @@ import calendar
|
||||||
import datetime
|
import datetime
|
||||||
import numpy
|
import numpy
|
||||||
import time
|
import time
|
||||||
|
try:
|
||||||
import StringIO
|
import StringIO
|
||||||
|
except ImportError:
|
||||||
|
#python2->3
|
||||||
|
import io.StringIO as StringIO
|
||||||
|
|
||||||
from dynamicserialize.dstypes.java.util import Date
|
from dynamicserialize.dstypes.java.util import Date
|
||||||
from dynamicserialize.dstypes.java.util import EnumSet
|
from dynamicserialize.dstypes.java.util import EnumSet
|
||||||
|
|
|
@ -25,6 +25,6 @@ __all__ = [
|
||||||
'TimeRange'
|
'TimeRange'
|
||||||
]
|
]
|
||||||
|
|
||||||
from DataTime import DataTime
|
from .DataTime import DataTime
|
||||||
from TimeRange import TimeRange
|
from .TimeRange import TimeRange
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue