Fixed some code style issues.

Sun, 09 Jul 2017 19:42:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 09 Jul 2017 19:42:44 +0200
changeset 5797
8bc870b7a8a6
parent 5796
d3a184427b8e
child 5798
e4f9552f7f93

Fixed some code style issues.

WebBrowser/WebBrowserView.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/WebBrowserView.py	Sun Jul 09 13:56:32 2017 +0200
+++ b/WebBrowser/WebBrowserView.py	Sun Jul 09 19:42:44 2017 +0200
@@ -1917,7 +1917,7 @@
         loop is running.
         """
         if self.__restoreData:
-            sessionData,  self.__restoreData = self.__restoreData, None
+            sessionData, self.__restoreData = self.__restoreData, None
             self.loadFromSessionData(sessionData)
     
     def showEvent(self, evt):
@@ -1932,7 +1932,7 @@
     
     def activateSession(self):
         """
-        Private slot to activate a restored session.
+        Public slot to activate a restored session.
         """
         if self.__restoreData and not self.__mw.isClosing():
             QTimer.singleShot(0, self.__showEventSlot)

eric ide

mercurial