Skip to content

Commit

Permalink
remove ordereddict dependency, issue greedo#55
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukesan committed Dec 25, 2022
1 parent 882a34f commit 4c938a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ pytest==2.8.3
pep8==1.6.2
marshmallow>=2.15.1
beautifulsoup4==4.4.1
ordereddict==1.1
lxml==4.6.5
six==1.9.0
7 changes: 1 addition & 6 deletions xbrl/xbrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
from marshmallow import Schema, fields
import datetime
import collections
import collections as odict
import six
import logging

Expand All @@ -13,11 +13,6 @@
except ImportError:
from io import StringIO

if 'OrderedDict' in dir(collections):
odict = collections
else:
import ordereddict as odict


def soup_maker(fh):
""" Takes a file handler returns BeautifulSoup"""
Expand Down

0 comments on commit 4c938a9

Please sign in to comment.