Skip to content

Commit

Permalink
Merge pull request #12 from cneud/lxml
Browse files Browse the repository at this point in the history
change xml.etree to lxml.etree
  • Loading branch information
cneud authored Feb 20, 2018
2 parents 2f85dbc + 6d005f2 commit 1f97dc2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ocrd/characterize/characterizing.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import

import xml.etree.ElementTree as ET

import exiftool

from lxml import etree as ET

from ocrd import init

ns = { 'mets' : "http://www.loc.gov/METS/",
Expand Down
3 changes: 2 additions & 1 deletion ocrd/init/initializing.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-

import os
import xml.etree.ElementTree as ET
import requests

from lxml import etree as ET

ns = { 'mets' : "http://www.loc.gov/METS/",
'mods' : "http://www.loc.gov/mods/v3",
'xlink' : "http://www.w3.org/1999/xlink",
Expand Down
4 changes: 2 additions & 2 deletions ocrd/scripts/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import click

import xml.etree.ElementTree as ET

import xml.dom.minidom as md

from lxml import etree as ET

from ocrd import init, characterize

@click.command()
Expand Down

0 comments on commit 1f97dc2

Please sign in to comment.