PluginMetricsRadon.py

branch
eric7
changeset 114
c4e39e9e3987
parent 113
ab0e46f963ee
child 120
61bf877c4f1a
--- a/PluginMetricsRadon.py	Tue Jul 09 13:29:10 2024 +0200
+++ b/PluginMetricsRadon.py	Tue Jul 09 13:30:05 2024 +0200
@@ -798,9 +798,8 @@
         @type Editor
         """
         if menuName == "Show":
-            enable = (
-                editor.isPyFile()
-                and not FileSystemUtilities.isRemoteFileName(editor.getFileName())
+            enable = editor.isPyFile() and not FileSystemUtilities.isRemoteFileName(
+                editor.getFileName()
             )
             for act in self.__editorMetricsActs:
                 act.setEnabled(enable)

eric ide

mercurial