eric6/E5Network/E5Ftp.py

changeset 8218
7c09585bd960
parent 8207
d359172d11be
child 8268
6b8128e0c9d1
--- a/eric6/E5Network/E5Ftp.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/E5Network/E5Ftp.py	Sat Apr 10 18:38:27 2021 +0200
@@ -79,7 +79,7 @@
         @param proxyAccount accounting info for the proxy (string)
         @param timeout timeout in seconds for blocking operations (integer)
         """
-        super(E5Ftp, self).__init__()
+        super().__init__()
         
         self.__timeout = timeout
         
@@ -160,10 +160,10 @@
                 raise E5FtpProxyError(
                     "990 Proxy usage requested, but no proxy host given.")
             
-            return super(E5Ftp, self).connect(
+            return super().connect(
                 self.__proxyHost, self.__proxyPort, self.__timeout)
         else:
-            return super(E5Ftp, self).connect(
+            return super().connect(
                 self.__host, self.__port, self.__timeout)
     
     def login(self, user="", password="", acct=""):         # secok

eric ide

mercurial