[llvm-commits] [zorg] r150762 - /zorg/trunk/lnt/lnt/server/ui/views.py

Daniel Dunbar daniel at zuster.org
Thu Feb 16 14:55:19 PST 2012


Author: ddunbar
Date: Thu Feb 16 16:55:19 2012
New Revision: 150762

URL: http://llvm.org/viewvc/llvm-project?rev=150762&view=rev
Log:
[lnt] lnt.server.ui.views: Use proper string comparison.

Modified:
    zorg/trunk/lnt/lnt/server/ui/views.py

Modified: zorg/trunk/lnt/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/ui/views.py?rev=150762&r1=150761&r2=150762&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/ui/views.py (original)
+++ zorg/trunk/lnt/lnt/server/ui/views.py Thu Feb 16 16:55:19 2012
@@ -840,7 +840,7 @@
 
     options['test_min_value_filter'] = test_min_value_filter_str = \
         request.args.get('test_min_value_filter', '')
-    if test_min_value_filter_str is not '':
+    if test_min_value_filter_str != '':
         test_min_value_filter = float(test_min_value_filter_str)
     else:
         test_min_value_filter = 0.0





More information about the llvm-commits mailing list