Network/IRC/IrcUtilities.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2992
dbdf27746da5
child 3060
5883ce99ee12
--- a/Network/IRC/IrcUtilities.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Network/IRC/IrcUtilities.py	Fri Oct 18 23:00:41 2013 +0200
@@ -112,13 +112,16 @@
                 else:
                     if colors[0]:
                         # foreground and background
-                        tag = '<span style="background-color:{0};color={1}">'.format(
-                            Preferences.getIrc("IrcColor{0}".format(int(colors[0]))),
-                            Preferences.getIrc("IrcColor{0}".format(int(colors[1]))))
+                        tag = '<span style="background-color:{0};color={1}">'\
+                            .format(Preferences.getIrc(
+                                "IrcColor{0}".format(int(colors[0]))),
+                                    Preferences.getIrc(
+                                "IrcColor{0}".format(int(colors[1]))))
                     else:
                         # background only
                         tag = '<span style="background-color:{0}">'.format(
-                            Preferences.getIrc("IrcColor{0}".format(int(colors[1]))))
+                            Preferences.getIrc(
+                                "IrcColor{0}".format(int(colors[1]))))
                 msgParts.append(tag)
                 openTags.append("span")
             else:
@@ -158,7 +161,8 @@
         "k": QCoreApplication.translate("IrcUtilities", "password protected"),
         "l": QCoreApplication.translate("IrcUtilities", "user limit"),
         "m": QCoreApplication.translate("IrcUtilities", "moderated"),
-        "n": QCoreApplication.translate("IrcUtilities", "no messages from outside"),
+        "n": QCoreApplication.translate("IrcUtilities",
+                                        "no messages from outside"),
         "p": QCoreApplication.translate("IrcUtilities", "private"),
         "q": QCoreApplication.translate("IrcUtilities", "quiet"),
         "r": QCoreApplication.translate("IrcUtilities", "reop channel"),

eric ide

mercurial