RefactoringRope/MatchesDialog.py

changeset 354
a967ff16629a
parent 347
b5048b5ff454
child 365
f740b50380df
--- a/RefactoringRope/MatchesDialog.py	Sat Mar 27 09:48:05 2021 +0100
+++ b/RefactoringRope/MatchesDialog.py	Sat Apr 24 11:19:08 2021 +0200
@@ -92,10 +92,7 @@
         @param unsure flag indicating an unsure match
         @type bool
         """
-        if unsure:
-            conf = 50
-        else:
-            conf = 100
+        conf = 50 if unsure else 100
         itm = QTreeWidgetItem(
             self.matchesList,
             [self.__e5project.getRelativePath(filename),

eric ide

mercurial