summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-25 23:36:31 +0200
committerTreeki <treeki@gmail.com>2012-09-25 23:36:31 +0200
commit214a447d606671766b5fb404a50f3af4f24369e4 (patch)
tree134e535a7b88d12834e7a81910a08e45c89c04bb /src
parentfa79b83c416462313947c2bd7e653885ed7d14d9 (diff)
downloadkoopatlas-214a447d606671766b5fb404a50f3af4f24369e4.tar.gz
koopatlas-214a447d606671766b5fb404a50f3af4f24369e4.zip
removed this ugly and useless hack that shits up my pretty file handling code
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)