Mercurial > kallithea
diff scripts/docs-headings.py @ 8215:928bc1d8b279 default-i18n
Merge from default
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 06 Feb 2020 01:19:23 +0100 |
parents | 01aca0a4f876 |
children | 4b68fbe195b6 |
line wrap: on
line diff
--- a/scripts/docs-headings.py Sun Jan 05 01:19:05 2020 +0100 +++ b/scripts/docs-headings.py Thu Feb 06 01:19:23 2020 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ Consistent formatting of rst section titles @@ -35,6 +35,7 @@ def main(): filenames = subprocess.check_output(['hg', 'loc', 'set:**.rst+kallithea/i18n/how_to']).splitlines() for fn in filenames: + fn = fn.decode() print('processing %s' % fn) s = open(fn).read()