summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-28 14:49:01 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-28 14:49:01 +0200
commit83452efebd98ea333ea7d248f2c88ca4d7fafa6e (patch)
tree666424e231028b507ab8fbfec30ec595b2a3b189 /module
parentrs, check downloaded files (diff)
downloadpyload-83452efebd98ea333ea7d248f2c88ca4d7fafa6e.tar.xz
parser warnings
Diffstat (limited to 'module')
-rw-r--r--module/ConfigParser.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/ConfigParser.py b/module/ConfigParser.py
index 9186c875c..98c82a1a5 100644
--- a/module/ConfigParser.py
+++ b/module/ConfigParser.py
@@ -6,6 +6,8 @@ from os.path import exists
from os.path import join
from shutil import copy
+from traceback import print_exc
+
CONF_VERSION = 1
@@ -96,7 +98,8 @@ class ConfigParser:
self.updateValues(homeconf, self.config)
except Exception, e:
- print e
+ print "Config Warning"
+ print_exc()
self.username = self.config["remote"]["username"]["value"]
@@ -186,7 +189,8 @@ class ConfigParser:
"value" : value}
except Exception, e:
- print e
+ print "Config Warning"
+ print_exc()
f.close()