equal
deleted
inserted
replaced
149 }) |
149 }) |
150 handler.characters(title) |
150 handler.characters(title) |
151 handler.endElement(u"a") |
151 handler.endElement(u"a") |
152 handler.endElement(u"td") |
152 handler.endElement(u"td") |
153 handler.startElement(u"td", {}) |
153 handler.startElement(u"td", {}) |
154 handler.characters(u"%i%sKB" % (size / 1024, unichr(160))) |
154 handler.characters(u"%.1f%sMB" % (size / (1024.0 * 1024), unichr(160))) |
155 handler.endElement(u"td") |
155 handler.endElement(u"td") |
156 |
156 |
157 def mirror(self, handler, prefix, title, stripprefix = u""): |
157 def mirror(self, handler, prefix, title, stripprefix = u""): |
158 |
158 |
159 """<?mirror prefix="..." title="..." [stripprefix="..."] ?> - generates a mirror switch link, |
159 """<?mirror prefix="..." title="..." [stripprefix="..."] ?> - generates a mirror switch link, |