error catching ++
This commit is contained in:
parent
89d526e740
commit
f2a27e592d
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ class Node(object):
|
||||||
n.set('type', "bool")
|
n.set('type', "bool")
|
||||||
except UnicodeEncodeError:
|
except UnicodeEncodeError:
|
||||||
print "Encoding error with", self._value, type(self._value)
|
print "Encoding error with", self._value, type(self._value)
|
||||||
|
except:
|
||||||
|
print "Some other exceptiong in sgprops._createXMLElement()"
|
||||||
|
|
||||||
# index in parent
|
# index in parent
|
||||||
if (self.index != 0):
|
if (self.index != 0):
|
||||||
|
|
Loading…
Reference in a new issue