CONFIG_SPEC_PATH should be config_spec here, fixing.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 18 Jun 2011 21:51:35 +0000 (16:51 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 18 Jun 2011 21:51:35 +0000 (16:51 -0500)
mediagoblin/config.py

index 4f6d9f2e47ab1dfd00be59176ec76502f922b0e7..2f93d32ce6343c88d337a51b78a219750591eb69 100644 (file)
@@ -58,7 +58,7 @@ def read_mediagoblin_config(config_path, config_spec=CONFIG_SPEC_PATH):
     config_path = os.path.abspath(config_path)
 
     config_spec = ConfigObj(
-        CONFIG_SPEC_PATH,
+        config_spec,
         encoding='UTF8', list_values=False, _inspec=True)
 
     _setup_defaults(config_spec, config_path)