diff treepkg/readconfig.py @ 521:d26642ed6afa

use empty string as default config values instead of None
author Bjoern Ricks <bricks@intevation.de>
date Wed, 10 Nov 2010 16:48:03 +0000
parents f2de1c162d30
children
line wrap: on
line diff
--- a/treepkg/readconfig.py	Wed Nov 10 16:46:12 2010 +0000
+++ b/treepkg/readconfig.py	Wed Nov 10 16:48:03 2010 +0000
@@ -67,7 +67,7 @@
 packager_desc = [
     "name", "base_dir",
     ("url", str, ""),
-    ("svn_url", str, None),
+    ("svn_url", str, ""),
     ("svn_subset", convert_subversion_subset, ""),
     ("svn_externals", shlex.split, ""),
     ("rules_url", str, ""), ("packager_class", str, "treepkg.packager"),
@@ -90,8 +90,8 @@
     ("check_interval", int),
     "instructions_file",
     ("name", str, ""),
-    ("treepkg_dir", str, None),
-    ("tracks_dir", str, None)
+    ("treepkg_dir", str, ""),
+    ("tracks_dir", str, "")
     ]
 
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)