Skip to content

Commit

Permalink
✨ try to support python 2.6. fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Jan 6, 2018
1 parent 83649b4 commit 4b210c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ python:
- 3.4
- 3.3
- 2.7
- 2.6
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
Expand Down
6 changes: 3 additions & 3 deletions moban/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import moban.constants as constants

MESSAGE_TEMPLATING = "Templating {} to {}"
MESSAGE_TEMPLATING = "Templating {0} to {1}"
MESSAGE_NO_ACTION = "Everything is up to date!"
MESSAGE_REPORT = "Templated {} out of {} files."
MESSAGE_TEMPLATED_ALL = "Templated {} files."
MESSAGE_REPORT = "Templated {0} out of {1} files."
MESSAGE_TEMPLATED_ALL = "Templated {0} files."


def report_templating(source_file, destination_file):
Expand Down

0 comments on commit 4b210c2

Please sign in to comment.