Skip to content

Commit

Permalink
Fixed 2.7 compat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalarico committed Jan 28, 2018
1 parent ca789fa commit 0fea28b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 0.9.0
# 0.9.1
* Feature: Better exception message for 422 (Issue #16)
* Fix: 2.7 Compat with sys.implementation

# 0.9.0
* Docs: Revised Docs strings to show kebab case kwargs
Expand Down
5 changes: 4 additions & 1 deletion airtable/airtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@
from .auth import AirtableAuth
from .params import AirtableParams

IS_IPY = sys.implementation.name == 'ironpython'
try:
IS_IPY = sys.implementation.name == 'ironpython'
except AttributeError:
IS_IPY = False


class Airtable():
Expand Down

0 comments on commit 0fea28b

Please sign in to comment.