Use new-style string formatting for the HTML template
diff --git a/Tools/scripts/pycolorize.py b/Tools/scripts/pycolorize.py
index 3a9c95e..7a177b9 100755
--- a/Tools/scripts/pycolorize.py
+++ b/Tools/scripts/pycolorize.py
@@ -79,13 +79,13 @@
 <html>
 <head>
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
-<title> %s </title>
+<title> {title} </title>
 <style type="text/css">
-%s
+{css}
 </style>
 </head>
 <body>
-%s
+{body}
 </body>
 </html>
 '''
@@ -95,7 +95,7 @@
     css_str = '\n'.join(['%s %s' % item for item in css.items()])
     result = colorize(source)
     title = cgi.escape(title)
-    return html % (title, css_str, result)
+    return html.format(title=title, css=css_str, body=result)
 
 
 if __name__ == '__main__':