summaryrefslogtreecommitdiff
path: root/python/examples/kaitai/kshelpers.py
diff options
context:
space:
mode:
authorAndrew Lamoureux <andrew@vector35.com>2019-03-22 00:06:32 -0400
committerAndrew Lamoureux <andrew@vector35.com>2019-03-22 00:06:32 -0400
commit243bf0c8ff0fc1ec0a40e276541ed6be1888d2af (patch)
tree643022a2a31a1f02c97fabc5d2c729f0ac11a757 /python/examples/kaitai/kshelpers.py
parentb5fd5d118338159eed5969c5df4ad7d55d732a3d (diff)
kaitai: disclude circular formats on py2, more error reporting
Diffstat (limited to 'python/examples/kaitai/kshelpers.py')
-rw-r--r--python/examples/kaitai/kshelpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/kaitai/kshelpers.py b/python/examples/kaitai/kshelpers.py
index d4507572..a4453739 100644
--- a/python/examples/kaitai/kshelpers.py
+++ b/python/examples/kaitai/kshelpers.py
@@ -70,7 +70,7 @@ def ksImportClass(moduleName):
global __name__, __package__
if not moduleName:
return None
-
+
classThing = None
try:
#log.log_debug('__package__: -%s-' % __package__) # 'kaitai'
@@ -315,7 +315,7 @@ def buildQtree(ksobj):
if ('_m_'+fieldName) in fields:
# favor the '_m_' version which seems to get the debug info
continue
-
+
subObj = getattr(ksobj, fieldName)
child = None