Removed some commented code. eric7

Sat, 22 May 2021 20:25:21 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 22 May 2021 20:25:21 +0200
branch
eric7
changeset 8360
2a91e0e05926
parent 8359
0e29e54e9269
child 8361
025f3037dcef

Removed some commented code.

eric7/EricWidgets/EricFileDialog.py file | annotate | diff | comparison | revisions
eric7/Graphics/UMLDialog.py file | annotate | diff | comparison | revisions
scripts/install.py file | annotate | diff | comparison | revisions
setup.py file | annotate | diff | comparison | revisions
--- a/eric7/EricWidgets/EricFileDialog.py	Sat May 22 20:18:22 2021 +0200
+++ b/eric7/EricWidgets/EricFileDialog.py	Sat May 22 20:25:21 2021 +0200
@@ -12,7 +12,6 @@
 
 import Globals
 
-##Options = QFileDialog.Options
 Option = QFileDialog.Option
 
 ShowDirsOnly = QFileDialog.Option.ShowDirsOnly
@@ -21,7 +20,6 @@
 DontUseNativeDialog = QFileDialog.Option.DontUseNativeDialog
 ReadOnly = QFileDialog.Option.ReadOnly
 HideNameFilterDetails = QFileDialog.Option.HideNameFilterDetails
-##DontUseSheet = QFileDialog.Option.DontUseSheet
 DontUseCustomDirectoryIcons = QFileDialog.Option.DontUseCustomDirectoryIcons
 
 
--- a/eric7/Graphics/UMLDialog.py	Sat May 22 20:18:22 2021 +0200
+++ b/eric7/Graphics/UMLDialog.py	Sat May 22 20:25:21 2021 +0200
@@ -401,42 +401,6 @@
         
         return True
     
-##    def __writeLineBasedGraphicsFile(self, filename):
-##        """
-##        Private method to write an eric graphics file using the old line
-##        based file format.
-##        
-##        @param filename name of the file to write to
-##        @type str
-##        @return flag indicating a successful write
-##        @rtype bool
-##        """
-##        lines = [
-##            "version: 1.0",
-##            "diagram_type: {0} ({1})".format(
-##                self.__diagramType.value,
-##                self.__getDiagramTitel(self.__diagramType)),
-##            "scene_size: {0};{1}".format(self.scene.width(),
-##                                         self.scene.height()),
-##        ]
-##        persistenceData = self.builder.getPersistenceData()
-##        if persistenceData:
-##            lines.append("builder_data: {0}".format(persistenceData))
-##        lines.extend(self.umlView.getPersistenceData())
-##        
-##        try:
-##            with open(filename, "w", encoding="utf-8") as f:
-##                f.write("\n".join(lines))
-##            return True
-##        except OSError as err:
-##            EricMessageBox.critical(
-##                self,
-##                self.tr("Save Diagram"),
-##                self.tr(
-##                    """<p>The file <b>{0}</b> could not be saved.</p>"""
-##                    """<p>Reason: {1}</p>""").format(filename, str(err)))
-##            return False
-##    
     def __showInvalidDataMessage(self, filename, linenum=-1):
         """
         Private slot to show a message dialog indicating an invalid data file.
--- a/scripts/install.py	Sat May 22 20:18:22 2021 +0200
+++ b/scripts/install.py	Sat May 22 20:25:21 2021 +0200
@@ -1538,7 +1538,7 @@
         # Tuple with alternatives, flag indicating it's ok to not be
         # available (e.g. for 32-Bit Windows)
         # TODO: enable this once PyQt 6.2.0/Qt 6.2.0 is released
-        #~ (("PyQt6.QtWebEngineWidgets", ), sys.maxsize <= 2**32),
+        #~ (("PyQt6.QtWebEngineWidgets", ), sys.maxsize <= 2**32),  # __IGNORE_WARNING__
     ]
     optionalModulesList = {
         # key is pip project name
@@ -1855,7 +1855,7 @@
          os.path.join(cfg["ericPixDir"], "eric7.ico")),
         # TODO: enable this once PyQt 6.2.0/Qt 6.2.0 is released
         #~ ("eric7 Browser (Python {0}.{1}).lnk",
-        #~  os.path.join(cfg["bindir"], "eric7_browse.cmd"),
+        #~  os.path.join(cfg["bindir"], "eric7_browse.cmd"),    # __IGNORE_WARNING__
         #~  os.path.join(cfg["ericPixDir"], "ericWeb48.ico")),
     ]
     
--- a/setup.py	Sat May 22 20:18:22 2021 +0200
+++ b/setup.py	Sat May 22 20:25:21 2021 +0200
@@ -338,7 +338,7 @@
         "wheel",
         "PyQt6>=6.1.1",
         "PyQt6-Charts>=6.1.0",
-        #~ "PyQt6-WebEngine>=6.2.0",
+        #~ "PyQt6-WebEngine>=6.2.0",        # __IGNORE_WARNING__
         "PyQt6-QScintilla>=2.12.2",
         "docutils",
         "Markdown",
@@ -369,7 +369,7 @@
     entry_points={
         "gui_scripts": [
             "eric7 = eric7.eric7:main",
-            #~ "eric7_browser = eric7.eric7_browser:main",
+            #~ "eric7_browser = eric7.eric7_browser:main",      # __IGNORE_WARNING__
             "eric7_compare = eric7.eric7_compare:main",
             "eric7_configure = eric7.eric7_configure:main",
             "eric7_diff = eric7.eric7_diff:main",

eric ide

mercurial