diff options
| author | Treeki <treeki@gmail.com> | 2012-09-25 23:36:31 +0200 | 
|---|---|---|
| committer | Treeki <treeki@gmail.com> | 2012-09-25 23:36:31 +0200 | 
| commit | 214a447d606671766b5fb404a50f3af4f24369e4 (patch) | |
| tree | 134e535a7b88d12834e7a81910a08e45c89c04bb /src | |
| parent | fa79b83c416462313947c2bd7e653885ed7d14d9 (diff) | |
| download | koopatlas-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.py | 6 | 
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) | 
