Ticket #441 (closed defect: fixed)
http://code.bitlbee.org/hgweb/ fails
Description
bzr view through http://code.bitlbee.org/hgweb/ fails:
AttributeError Python 2.4.3: /usr/bin/python Tue Jul 29 10:41:41 2008
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/org/bitlbee/code-cgi/hgweb/webserve/hgwebdir.cgi
8 sys.path.insert(0, "/var/www/org/bitlbee/code-cgi/hgweb") # if not a system-wide install 9 #sys.path.insert(0, "/var/www/org/bitlbee/code-cgi/hgweb/bzr.dev") # if not a system-wide install
10 from webserve import hgweb 11 12 # The config file looks like this:
webserve undefined, hgweb undefined
/var/www/org/bitlbee/code-cgi/hgweb/webserve/init.py
52 bzrlib.option._global_option('fileserver') 53 54 bzrlib.commands.register_command(cmd_webserve) 55 56 bzrlib.tests.MODULES_TO_TEST.append(test_webserve)
bzrlib = None, bzrlib.tests undefined, test_webserve = None
AttributeError: 'module' object has no attribute 'MODULES_TO_TEST'
args = ("'module' object has no attribute 'MODULES_TO_TEST'",)
