This is not 2005, we have ElementTree already

This commit is contained in:
Nathaniel Case 2016-09-20 15:21:17 -04:00
parent f9e5e43fe9
commit 8040c47e6a
2 changed files with 1 additions and 4 deletions

View File

@ -11,6 +11,7 @@ import json
import pytz
import re
import urllib
import xml.etree.ElementTree as ET
from knowledge.model import Fact, Entity, DBSession, init_model, metadata, create_engine
@ -174,9 +175,6 @@ def handle_ohloh(request, username):
if not username:
return data
# Import ElementTree for XML parsing (Python 2.5+)
import elementtree.ElementTree as ET
# Ohloh requires an API key and the account email, and returns
# account information in name: value pairs.

View File

@ -8,7 +8,6 @@ CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'coderwall',
'elementtree',
'knowledge>=0.3',
'pyramid',
'pyramid_mako',