Browse Source

[2157] trivial fix of the arrangement of words

Yoshitaka Aharen 12 years ago
parent
commit
b3804a1036
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/gen-statisticsitems.py.pre.in

+ 1 - 1
src/bin/auth/gen-statisticsitems.py.pre.in

@@ -227,7 +227,7 @@ def generate_docfile(docfile, def_mtime):
                         else:
                             prev.tail += word + ' '
                 sim_para.text = sim_para.text.rstrip()
-                if not prev is None:
+                if prev is not None:
                     prev.tail = prev.tail.rstrip()
             else:
                 # the item is a branch node: call myself for child nodes