summaryrefslogtreecommitdiff
path: root/tablib
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-09-25 05:53:13 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-09-25 05:53:13 -0400
commitcab63e02c873ffa86a4688342d35ae72ca321625 (patch)
treee4790950b4ad0731676d27c0493c8e8088b16773 /tablib
parent63d025888aeaf61022524f09d520e4b29687bdc5 (diff)
downloadtablib-cab63e02c873ffa86a4688342d35ae72ca321625.tar.gz
Module namespace change.
Diffstat (limited to 'tablib')
-rw-r--r--tablib/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py
index 2c9811a..52a8faa 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -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: