Skip to content

Commit

Permalink
chore: Use io instead of six
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 3, 2023
1 parent e983c5a commit e38d87e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agatelookup/source.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env python

import io
import os

import agate
import requests
import six
import yaml


Expand Down Expand Up @@ -164,4 +164,4 @@ def row_names(r): return tuple(r[k] for k in keys)
except (requests.ConnectionError, requests.Timeout):
text = self._read_cache(path)

return agate.Table.from_csv(six.StringIO(text), column_types=tester, row_names=row_names)
return agate.Table.from_csv(io.StringIO(text), column_types=tester, row_names=row_names)

0 comments on commit e38d87e

Please sign in to comment.