Fixed some code style issues.

Wed, 03 Oct 2018 17:37:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 03 Oct 2018 17:37:40 +0200
changeset 6530
25b9dcfd6fcc
parent 6529
1c2968f124b7
child 6531
a401efd02cd1

Fixed some code style issues.

Globals/__init__.py file | annotate | diff | comparison | revisions
WebBrowser/Network/QtHelpSchemeHandler.py file | annotate | diff | comparison | revisions
install.py file | annotate | diff | comparison | revisions
--- a/Globals/__init__.py	Wed Oct 03 17:33:40 2018 +0200
+++ b/Globals/__init__.py	Wed Oct 03 17:37:40 2018 +0200
@@ -177,7 +177,7 @@
                 hpNew = os.path.join(os.path.expanduser("~"), cdn)
                 if os.path.exists(hpNew):
                     # simply delete the old config directory
-                    shutil.rmtree(hpOld,  True)
+                    shutil.rmtree(hpOld, True)
                 else:
                     os.rename(hpOld, hpNew)
         
--- a/WebBrowser/Network/QtHelpSchemeHandler.py	Wed Oct 03 17:33:40 2018 +0200
+++ b/WebBrowser/Network/QtHelpSchemeHandler.py	Wed Oct 03 17:37:40 2018 +0200
@@ -156,7 +156,6 @@
         @param url URL of the requested page
         @type QUrl
         """
-        
         if self.__engine.findFile(url).isValid():
             data = self.__engine.fileData(url)
         else:
--- a/install.py	Wed Oct 03 17:33:40 2018 +0200
+++ b/install.py	Wed Oct 03 17:37:40 2018 +0200
@@ -1116,7 +1116,7 @@
     # 1. create desktop shortcuts
     regName = "Desktop"
     desktopFolder = os.path.normpath(
-            os.path.expandvars(getWinregEntry(regName, regPath)))
+        os.path.expandvars(getWinregEntry(regName, regPath)))
     for linkName, targetPath, iconPath in windowsDesktopEntries():
         linkPath = os.path.join(desktopFolder, linkName)
         createWindowsShortcut(linkPath, targetPath, iconPath)

eric ide

mercurial