diff pylons_app/lib/app_globals.py @ 55:e00dccb6f211

Implemented index page using vcs
author Marcin Kuzminski <marcin@python-blog.com>
date Thu, 08 Apr 2010 22:59:49 +0200
parents 2e1247e62c5b
children bf1b64046c79
line wrap: on
line diff
--- a/pylons_app/lib/app_globals.py	Thu Apr 08 18:17:28 2010 +0200
+++ b/pylons_app/lib/app_globals.py	Thu Apr 08 22:59:49 2010 +0200
@@ -28,14 +28,15 @@
         self.cache = CacheManager(**parse_cache_config_options(config))
         self.hgapp = wsgiapplication(self.make_web_app)
 
-
     def make_web_app(self):
         repos = "hgwebdir.config"
         baseui = ui.ui()
         cfg = config.config()
         cfg.read(repos)
         paths = cfg.items('paths')
+        self.paths = paths
         self.check_repo_dir(paths)
+        
         self.set_statics(cfg)
 
         for k, v in cfg.items('web'):