From: Aaron Bentley Date: Thu, 1 Dec 2005 21:59:25 +0000 (+0000) Subject: Separated out local configuration X-Git-Tag: 1.0.0~275 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21b01aa7795d374fa2bebfdccb45526091be51c1;p=be.git Separated out local configuration --- 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: