From 66867527d2d3da934b62efb65f1c587b037566f6 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 25 Sep 2010 16:51:09 -0400 Subject: [PATCH] Format import cleanups. --- tablib/core.py | 2 +- tablib/formats/__init__.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tablib/core.py b/tablib/core.py index 168d664..b557e3e 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -3,7 +3,7 @@ """ Tablib - Core Library. """ -from tablib.formats import formats +from tablib.formats import FORMATS as formats __title__ = 'tablib' diff --git a/tablib/formats/__init__.py b/tablib/formats/__init__.py index b9c7451..e8c9007 100644 --- a/tablib/formats/__init__.py +++ b/tablib/formats/__init__.py @@ -3,9 +3,9 @@ """ Tablib - formats """ -import _csv as csv -import _json as json -import _xls as xls -import _yaml as yaml +import tablib.formats._csv as csv +import tablib.formats._json as json +import tablib.formats._xls as xls +import tablib.formats._yaml as yaml -formats = (csv, json, xls, yaml) +FORMATS = (csv, json, xls, yaml)