Browse Source

Fix other import orders

pull/183/head
Oliverpool 9 years ago
parent
commit
0176cf8720
  1. 5
      patacrep/__init__.py
  2. 2
      patacrep/index.py
  3. 5
      patacrep/templates.py

5
patacrep/__init__.py

@ -1,10 +1,11 @@
"""Global variables."""
from pkg_resources import resource_filename
import os
import sys
from pkg_resources import resource_filename
# Check Python version
import sys
if sys.version_info < (3, 3):
print("ERROR: Your Python version is too old. Please use a Python version > 3.3.")
sys.exit(1)

2
patacrep/index.py

@ -6,8 +6,8 @@ from a file generated by the latex compilation of the songbook (.sxd).
"""
import locale
import unidecode
import re
import unidecode
from patacrep import authors
from patacrep import encoding

5
patacrep/templates.py

@ -1,11 +1,12 @@
"""Template for .tex generation settings and utilities"""
import re
import json
from jinja2 import Environment, FileSystemLoader, ChoiceLoader, \
TemplateNotFound, nodes
from jinja2.ext import Extension
from jinja2.meta import find_referenced_templates as find_templates
import re
import json
from patacrep import errors, files
from patacrep.latex import lang2babel

Loading…
Cancel
Save