Skip to content

Commit

Permalink
Reorder imports, use .format()
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Nov 15, 2016
1 parent 902d95f commit 258032c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bikeshed/boilerplate.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
from __future__ import division, unicode_literals
from collections import defaultdict
import copy
import os
import re
import subprocess
from collections import defaultdict
from .messages import *
from .htmlhelpers import *
from .DefaultOrderedDict import DefaultOrderedDict
Expand All @@ -17,7 +17,7 @@ def addBikeshedVersion(doc):
head = find("head", doc)
bikeshedVersion = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=os.path.dirname(__file__)).rstrip()
appendChild(head,
E.meta({"name": "generator", "content": "Bikeshed version %s" % bikeshedVersion}))
E.meta({"name": "generator", "content": "Bikeshed version {0}".format(bikeshedVersion)}))


def addHeaderFooter(doc):
Expand Down

0 comments on commit 258032c

Please sign in to comment.