diff -r ebf1462f2145 -r e8332c8108ff mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Thu Aug 21 11:35:17 2008 +0200 +++ b/mercurial/hgweb/common.py Tue Jul 22 18:21:37 2008 +0200 @@ -17,7 +17,7 @@ def __init__(self, code, message=None): Exception.__init__(self) self.code = code - if message: + if message is not None: self.message = message else: self.message = _statusmessage(code)