Parcourir la source

[2157] trivial fix of the arrangement of words

Yoshitaka Aharen il y a 12 ans
Parent
commit
b3804a1036
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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