Skip to content

Commit

Permalink
Remove redundant ResourceOptions.__new__ method - see django-import-e…
Browse files Browse the repository at this point in the history
  • Loading branch information
rhunwicks committed Apr 22, 2015
1 parent d63d743 commit 8b4c649
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions import_export/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,6 @@ class ResourceOptions(object):
skip_unchanged = False
report_skipped = True

def __new__(cls, meta=None):
overrides = {}

if meta:
for override_name in dir(meta):
if not override_name.startswith('_'):
overrides[override_name] = getattr(meta, override_name)

return object.__new__(type(str('ResourceOptions'), (cls,), overrides))


class DeclarativeMetaclass(type):

Expand Down

0 comments on commit 8b4c649

Please sign in to comment.