src/eric7/Tasks/TaskViewer.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11006
a671918232f3
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/Tasks/TaskViewer.py
--- a/src/eric7/Tasks/TaskViewer.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/Tasks/TaskViewer.py	Tue Apr 23 11:26:04 2024 +0200
@@ -264,13 +264,13 @@
         self.__resizeColumns()
 
     @pyqtSlot(QTreeWidgetItem, int)
-    def __taskItemActivated(self, itm, col):
+    def __taskItemActivated(self, itm, _col):
         """
         Private slot to handle the activation of an item.
 
         @param itm reference to the activated item
         @type QTreeWidgetItem
-        @param col column the item was activated in
+        @param _col column the item was activated in (unused)
         @type int
         """
         if (
@@ -860,7 +860,7 @@
                 fn = os.path.join(ppath, file)
                 # read the file and split it into textlines
                 try:
-                    text, encoding = Utilities.readEncodedFile(fn)
+                    text, _encoding = Utilities.readEncodedFile(fn)
                     lines = text.splitlines()
                 except (OSError, UnicodeError):
                     count += 1
@@ -992,7 +992,7 @@
 
             # read the file and split it into textlines
             try:
-                text, encoding = Utilities.readEncodedFile(fn)
+                text, _encoding = Utilities.readEncodedFile(fn)
                 lines = text.splitlines()
             except (OSError, UnicodeError):
                 continue

eric ide

mercurial