# Compatibility python 2/3 for unicode
try:
_test = unicode
-except:
+except Exception:
unicode = str
# Compatibility python 2/3 for StringIO
try: #type config, mapping
order = object.__getattribute__(config, 'order')
data = object.__getattribute__(config, 'data')
- except:
+ except Exception:
aStream.write("%s%s : '%s'\n" % (indstr, path, str(config)))
return
for key in sorted(data): #order): # data as sort alphabetical, order as initial order