Remove outdated unicode literals
This commit is contained in:
parent
6fac72bebd
commit
631ff35f80
|
@ -67,8 +67,8 @@ def getDescriptions():
|
|||
d['O'] = d['o'] + ' (other end)'
|
||||
d['P'] = d['p'] + ' (other end)'
|
||||
d['U'] = d['u'] + ' top side'
|
||||
d['v'] = d['u'] + u' for 90° lid'
|
||||
d['V'] = d['u'] + u' 90° lid'
|
||||
d['v'] = d['u'] + ' for 90° lid'
|
||||
d['V'] = d['u'] + ' 90° lid'
|
||||
return d
|
||||
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ class OrganPipe(Boxes): # Change class name!
|
|||
help="Cutup to mouth ratio")
|
||||
self.argparser.add_argument(
|
||||
"--mensur", action="store", type=int, default=0,
|
||||
help=u"Distance in halftones in the Normalmensur by Töpfer")
|
||||
help="Distance in halftones in the Normalmensur by Töpfer")
|
||||
self.argparser.add_argument(
|
||||
"--windpressure", action="store", type=float, default=588.4,
|
||||
help="uses unit selected below")
|
||||
|
|
|
@ -37,7 +37,7 @@ class ShadyEdge(edges.BaseEdge):
|
|||
|
||||
class TrafficLight(Boxes): # change class name here and below
|
||||
"""Traffic light"""
|
||||
description = u"""The traffic light was created to visualize the status of a Icinga monitored system.
|
||||
description = """The traffic light was created to visualize the status of a Icinga monitored system.
|
||||
|
||||
When turned by 90°, it can be also used to create a bottle holder."""
|
||||
|
||||
|
|
|
@ -409,7 +409,7 @@ f""" </script>{self.scripts % len(self.groups)}
|
|||
</head>
|
||||
<body>
|
||||
<h1>{_("An error occurred!")}</h1>""" +
|
||||
"".join(u"<p>%s</p>" % html.escape(s) for s in type(u"")(e).split(u"\n")) +
|
||||
"".join("<p>%s</p>" % html.escape(s) for s in str(e).split("\n")) +
|
||||
"""
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue