
cherokee at cherokee-project
Oct 23, 2009, 11:16 AM
Post #1 of 1
(156 views)
Permalink
|
|
[3751] web/widgets/render-svn.py: Would fail if no commit message is present
|
|
Revision: 3751 http://svn.cherokee-project.com/changeset/3751 Author: taher Date: 2009-10-23 20:16:41 +0200 (Fri, 23 Oct 2009) Log Message: ----------- Would fail if no commit message is present Modified Paths: -------------- web/widgets/render-svn.py Modified: web/widgets/render-svn.py =================================================================== --- web/widgets/render-svn.py 2009-10-23 17:29:15 UTC (rev 3750) +++ web/widgets/render-svn.py 2009-10-23 18:16:41 UTC (rev 3751) @@ -92,7 +92,7 @@ time = l['date'].split('T')[1].split('.')[0] content += '<a href="%s">r%s</a>' % (url, num) - if len(msg) > 0: + if msg != None: content += ': %s' % msg[:MSG_SZ] if len(msg) > MSG_SZ: content+= '..'
|