diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-12-01 21:59:25 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-12-01 21:59:25 +0000 |
commit | 21b01aa7795d374fa2bebfdccb45526091be51c1 (patch) | |
tree | 1dc3455ae9295aac3d07fca0cd49fa62769dfca5 | |
parent | 2e2054d07917570c0255b7cf62040aa481ba592a (diff) | |
download | bugseverywhere-21b01aa7795d374fa2bebfdccb45526091be51c1.tar.gz |
Separated out local configuration
-rw-r--r-- | beweb/beweb/config.py | 3 | ||||
-rw-r--r-- | beweb/beweb/controllers.py | 4 |
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: |