[gnue] r9545 - trunk/www/utils/webhelpers

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-05-02 06:48:05 -0500 (Wed, 02 May 2007)
New Revision: 9545

Modified:
   trunk/www/utils/webhelpers/tools.py
Log:
Fixed typo.


Modified: trunk/www/utils/webhelpers/tools.py
===================================================================
--- trunk/www/utils/webhelpers/tools.py	2007-05-02 11:43:21 UTC (rev 9544)
+++ trunk/www/utils/webhelpers/tools.py	2007-05-02 11:48:05 UTC (rev 9545)
@@ -83,7 +83,7 @@
                 '<p><a href="..">%s</a> %s was released on %s.</p>\n\n' % (name, release, mod.releases.getReleaseDate(release,dfmt))
 
       if release != currentRelease:
-        if currentRelease is None:
+        if currentRelease is not None:
           html += '<p class="warn"><b>Please note:</b> This is an old version of <i>%s</i>. The latest version is <a href="../%s/">%s</a>, released on %s.</p>\n\n' % (name, currentRelease, currentRelease, currentReleaseDate)
         else:
           html += '<p class="warn"><b>Please note:</b> This is an old version of <i>%s</i>. There is no current release available.</p>\n\n' % name
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.