Mercurial > p > roundup > code
comparison roundup/scripts/roundup_server.py @ 1782:d51cb5225d4a
commented out example tracker homes
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 04 Sep 2003 23:28:50 +0000 |
| parents | c376d6c2da1a |
| children | 921c48ecb3f5 |
comparison
equal
deleted
inserted
replaced
| 1780:d2801a2b0a77 | 1782:d51cb5225d4a |
|---|---|
| 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 16 # | 16 # |
| 17 """ HTTP Server that serves roundup. | 17 """ HTTP Server that serves roundup. |
| 18 | 18 |
| 19 $Id: roundup_server.py,v 1.26 2003-08-12 01:14:11 richard Exp $ | 19 $Id: roundup_server.py,v 1.27 2003-09-04 23:28:50 richard Exp $ |
| 20 """ | 20 """ |
| 21 | 21 |
| 22 # python version check | 22 # python version check |
| 23 from roundup import version_check | 23 from roundup import version_check |
| 24 | 24 |
| 38 # TRACKER_HOME, where the NAME part is used in the URL to select the | 38 # TRACKER_HOME, where the NAME part is used in the URL to select the |
| 39 # appropriate reacker. | 39 # appropriate reacker. |
| 40 # Make sure the NAME part doesn't include any url-unsafe characters like | 40 # Make sure the NAME part doesn't include any url-unsafe characters like |
| 41 # spaces, as these confuse the cookie handling in browsers like IE. | 41 # spaces, as these confuse the cookie handling in browsers like IE. |
| 42 TRACKER_HOMES = { | 42 TRACKER_HOMES = { |
| 43 'bar': '/tmp/bar', | 43 # 'example': '/path/to/example', |
| 44 } | 44 } |
| 45 | 45 |
| 46 ROUNDUP_USER = None | 46 ROUNDUP_USER = None |
| 47 | 47 |
| 48 | |
| 49 # Where to log debugging information to. Use an instance of DevNull if you | |
| 50 # don't want to log anywhere. | |
| 51 # TODO: actually use this stuff | |
| 52 #class DevNull: | |
| 53 # def write(self, info): | |
| 54 # pass | |
| 55 #LOG = open('/var/log/roundup.cgi.log', 'a') | |
| 56 #LOG = DevNull() | |
| 57 | 48 |
| 58 # | 49 # |
| 59 ## end configuration | 50 ## end configuration |
| 60 # | 51 # |
| 61 | 52 |
