Commit a32f4a28 authored by Eva Schiffer's avatar Eva Schiffer
Browse files

deprecating the adl blob format files

parent 79357571
......@@ -49,10 +49,13 @@ except ImportError:
LOG.info('no AERI dmv data file format module')
dmvlib = None
# DEPRECATED, will be removed in future!
try:
import adl_blob
LOG.info('adl_blob module found for JPSS ADL data file access')
# TODO, what is the loadable file extension?
LOG.warning('DEPRECATED: you have an adl_blob module installed; '
'loading JPSS ADL data files is DEPRECATED and will be '
'removed in a future version of Glance')
except ImportError:
LOG.info('no adl_blob format handler available')
adl_blob = None
......@@ -1334,6 +1337,8 @@ class jpss_adl(object):
_blob = None
def __init__(self, filename, allowWrite=False):
LOG.warning('DEPRECATED: loading JPSS ADL data files is DEPRECATED and will be '
'removed in a future version of Glance')
assert(allowWrite==False)
for xmlname in _search_xml(filename):
if not os.path.exists(xmlname):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment