aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--beweb/beweb/config.py3
-rw-r--r--beweb/beweb/controllers.py4
2 files changed, 4 insertions, 3 deletions
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: