diff options
| author | Claude Paroz <claude@2xlibre.net> | 2017-02-20 23:41:38 +0100 |
|---|---|---|
| committer | Iuri de Silvio <iurisilvio@gmail.com> | 2017-02-20 19:41:38 -0300 |
| commit | 44e9e24fec35bf7697e22aaa94feccdad23e5b79 (patch) | |
| tree | 99ac47be7d5a1f17ccf611c4075d339df190f115 /tablib/formats | |
| parent | 0ca5520bbc1474dbd872a3f330c681a5201336fd (diff) | |
| download | tablib-44e9e24fec35bf7697e22aaa94feccdad23e5b79.tar.gz | |
Replaced vendored pyyaml by a dependency (#278)
Diffstat (limited to 'tablib/formats')
| -rw-r--r-- | tablib/formats/_yaml.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tablib/formats/_yaml.py b/tablib/formats/_yaml.py index f2359cf..5aecb42 100644 --- a/tablib/formats/_yaml.py +++ b/tablib/formats/_yaml.py @@ -3,17 +3,8 @@ """ Tablib - YAML Support. """ -import sys - -try: - import yaml -except ImportError: - if sys.version_info[0] > 2: - import tablib.packages.yaml3 as yaml - else: - import tablib.packages.yaml as yaml - import tablib +import yaml title = 'yaml' extensions = ('yaml', 'yml') |
