Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
codefactor: fix comparison to litteral maintainability issue
[simgrid.git] / docs / source / _ext / autodoxy.py
index 00720cb..f0105da 100644 (file)
@@ -130,7 +130,7 @@ class _DoxygenXmlParagraphFormatter(object):
         self.continue_line = True
 
     def visit_parameterlist(self, node):
-        lines = [l for l in type(self)().generic_visit(node).lines if l is not '']
+        lines = [l for l in type(self)().generic_visit(node).lines if l != '']
         self.lines.extend([':parameters:', ''] + ['* %s' % l for l in lines] + [''])
 
     def visit_simplesect(self, node):