summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mapfile.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mapfile.py b/src/mapfile.py
index 27e2ff9..29e187e 100644
--- a/src/mapfile.py
+++ b/src/mapfile.py
@@ -81,11 +81,7 @@ def load(string):
try:
setattr(obj, attrName, source[attrName])
except:
- if attrName == 'folder':
- obj.folder = ''
-
- else:
- print "{0} was missing the attribute {1}".format(obj, attrName)
+ print "{0} was missing the attribute {1}".format(obj, attrName)
if hasattr(obj, '_preload'):
obj._preload(source)