Network/IRC/IrcUtilities.py

changeset 2992
dbdf27746da5
parent 2302
f29e9405c851
child 3036
30c81c9e88b8
child 3057
10516539f238
--- a/Network/IRC/IrcUtilities.py	Sun Oct 06 19:52:33 2013 +0200
+++ b/Network/IRC/IrcUtilities.py	Mon Oct 07 19:10:11 2013 +0200
@@ -110,13 +110,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:
@@ -156,7 +159,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