From fc9ba20ea4446049ebf68e1e9b9dfd77352cedd2 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Tue, 28 Aug 2012 13:02:14 -0500 Subject: export batch fixed, checkbox for secret added --- src/mapfile.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mapfile.py') diff --git a/src/mapfile.py b/src/mapfile.py index e1494b1..27e2ff9 100644 --- a/src/mapfile.py +++ b/src/mapfile.py @@ -66,7 +66,6 @@ def load(string): try: clsName = source['_t'] clsObj = DUMPABLE_CLASSES_BY_NAME[clsName] - print "Loading %s" % clsName except KeyError: # let's give this one more shot with the loadable proxies try: @@ -82,7 +81,11 @@ def load(string): try: setattr(obj, attrName, source[attrName]) except: - print "{0} was missing the attribute {1}".format(obj, attrName) + if attrName == 'folder': + obj.folder = '' + + else: + print "{0} was missing the attribute {1}".format(obj, attrName) if hasattr(obj, '_preload'): obj._preload(source) -- cgit v1.2.3