From 21b01aa7795d374fa2bebfdccb45526091be51c1 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Thu, 1 Dec 2005 21:59:25 +0000 Subject: [PATCH] Separated out local configuration --- beweb/beweb/config.py | 3 +++ beweb/beweb/controllers.py | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 beweb/beweb/config.py diff --git a/beweb/beweb/config.py b/beweb/beweb/config.py new file mode 100644 index 0000000..25cb01b --- /dev/null +++ b/beweb/beweb/config.py @@ -0,0 +1,3 @@ +projects = {"be": ("Bugs Everywhere","/home/abentley/be"), + "devel": ("PF devel","/home/abentley/devel"), +} diff --git a/beweb/beweb/controllers.py b/beweb/beweb/controllers.py index 01aacb1..3111d2f 100644 --- a/beweb/beweb/controllers.py +++ b/beweb/beweb/controllers.py @@ -1,9 +1,7 @@ import turbogears from turbogears import controllers from libbe.bugdir import tree_root, cmp_severity -projects = {"be": ("Bugs Everywhere","/home/abentley/be"), - "devel": ("PF devel","/home/abentley/devel"), -} +from config import projects def project_tree(project): try: -- 2.26.2