remove debug print statements
Change-Id: I51dc66b9cecb0f5e84bef36d1b4a541ddefcfbc2
This commit is contained in:
parent
c89b4a44bb
commit
9c68f582b7
@ -43,9 +43,7 @@ def make_cvt_list(dt, tail=''):
|
|||||||
else:
|
else:
|
||||||
return [] # ArrayType, BlobType and TextType are ignored: too much data, probably not used
|
return [] # ArrayType, BlobType and TextType are ignored: too much data, probably not used
|
||||||
result = []
|
result = []
|
||||||
print('START', dt)
|
|
||||||
for subkey, elmtype in items:
|
for subkey, elmtype in items:
|
||||||
print('MAKE_CVT_LIST', subkey, elmtype)
|
|
||||||
for fun, tail_, opts in make_cvt_list(elmtype, '%s.%s' % (tail, subkey)):
|
for fun, tail_, opts in make_cvt_list(elmtype, '%s.%s' % (tail, subkey)):
|
||||||
def conv(value, key=subkey, func=fun):
|
def conv(value, key=subkey, func=fun):
|
||||||
try:
|
try:
|
||||||
@ -53,7 +51,6 @@ def make_cvt_list(dt, tail=''):
|
|||||||
except KeyError: # can not use value.get() because value might be a list
|
except KeyError: # can not use value.get() because value might be a list
|
||||||
return None
|
return None
|
||||||
result.append((conv, tail_, opts))
|
result.append((conv, tail_, opts))
|
||||||
print('END', result)
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
@ -359,8 +359,6 @@ class SeaModule(Module):
|
|||||||
else:
|
else:
|
||||||
pobj = Parameter(**kwds)
|
pobj = Parameter(**kwds)
|
||||||
datatype = pobj.datatype
|
datatype = pobj.datatype
|
||||||
if name == 'cc' and key == 'value':
|
|
||||||
print('cc.value: %r %r' % (kwds, pobj))
|
|
||||||
attributes[key] = pobj
|
attributes[key] = pobj
|
||||||
if not hasattr(cls, 'read_' + key):
|
if not hasattr(cls, 'read_' + key):
|
||||||
def rfunc(self, cmd='hval /sics/%s/%s' % (sea_object, path)):
|
def rfunc(self, cmd='hval /sics/%s/%s' % (sea_object, path)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user