diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-10-06 12:23:58 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-10-06 12:23:58 -0400 |
| commit | b2c35c254368e87d6293bbb506d240a486a68688 (patch) | |
| tree | fe4862b4c033cac2c2338195a8dc19854aca4233 /tablib | |
| parent | 9dfd9d0c8e93f27ea0268d907ce82709892a4fac (diff) | |
| download | tablib-b2c35c254368e87d6293bbb506d240a486a68688.tar.gz | |
Fallback on vendorized yaml.
Diffstat (limited to 'tablib')
| -rw-r--r-- | tablib/formats/_yaml.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tablib/formats/_yaml.py b/tablib/formats/_yaml.py index 57d63d7..ab96b61 100644 --- a/tablib/formats/_yaml.py +++ b/tablib/formats/_yaml.py @@ -3,7 +3,11 @@ """ Tablib - YAML Support. """ -import yaml +try: + import yaml +except ImportError: + import tablib.packages.yaml as yaml + import tablib |
