Cooperation/Connection.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3021
801289962f4e
child 3145
a9de05d4a22f
--- a/Cooperation/Connection.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Cooperation/Connection.py	Fri Nov 01 15:48:48 2013 +0100
@@ -206,7 +206,7 @@
             if bannedName in Preferences.getCooperation("BannedUsers"):
                 self.rejected.emit(self.trUtf8(
                     "* Connection attempted by banned user '{0}'.")
-                        .format(bannedName))
+                    .format(bannedName))
                 self.abort()
                 return
             
@@ -214,7 +214,8 @@
                not Preferences.getCooperation("AutoAcceptConnections"):
                 # don't ask for reverse connections or
                 # if we shall accept automatically
-                res = E5MessageBox.yesNo(None,
+                res = E5MessageBox.yesNo(
+                    None,
                     self.trUtf8("New Connection"),
                     self.trUtf8("""<p>Accept connection from """
                                 """<strong>{0}@{1}</strong>?</p>""").format(

eric ide

mercurial