Mercurial > p > roundup > code
diff roundup/roundupdb.py @ 1253:fe67477e678f
fixes from changes today
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 08 Oct 2002 07:28:34 +0000 |
| parents | 209a47ede743 |
| children | b2d04ce03802 |
line wrap: on
line diff
--- a/roundup/roundupdb.py Tue Oct 08 04:11:17 2002 +0000 +++ b/roundup/roundupdb.py Tue Oct 08 07:28:34 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundupdb.py,v 1.71 2002-10-08 04:11:13 richard Exp $ +# $Id: roundupdb.py,v 1.72 2002-10-08 07:28:34 richard Exp $ __doc__ = """ Extending hyperdb with types specific to issue-tracking. @@ -291,8 +291,7 @@ # then append a trailing slash if it is missing base = self.db.config.TRACKER_WEB if (not isinstance(base , type('')) or - not base.startswith('http://') or - not base.startswith('https://')): + not (base.startswith('http://') or base.startswith('https://'))): base = "Configuration Error: TRACKER_WEB isn't a " \ "fully-qualified URL" elif base[-1] != '/' :
