mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
Module namespace change.
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ class Databook(object):
|
||||
@classmethod
|
||||
def _register_formats(cls):
|
||||
"""Adds format properties."""
|
||||
for fmt in formats.formats:
|
||||
for fmt in formats:
|
||||
try:
|
||||
setattr(cls, fmt.title, property(fmt.export_book))
|
||||
except Exception, why:
|
||||
|
||||
Reference in New Issue
Block a user