Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Jan 28, 2017
1 parent 257079d commit bedace3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
- "pypy2"
- "pypy3"
# command to install dependencies
install:
- "pip install flake8 mock pytest pytest-cov python-coveralls ."
Expand Down
1 change: 1 addition & 0 deletions itunesiap/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def extract(self):
options[item] = getattr(self, item)
return options


default = Environment(use_production=True, use_sandbox=False, verify_ssl=True)
production = Environment(use_production=True, use_sandbox=False, verify_ssl=True)
sandbox = Environment(use_production=False, use_sandbox=True, verify_ssl=True)
Expand Down
2 changes: 1 addition & 1 deletion itunesiap/receipt.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class InApp(ObjectMapper):
__WHITELIST__ = [
'quantity', 'product_id', 'transaction_id', 'original_transaction_id', 'is_trial_period',
'purchase_date', 'original_purchase_date', 'expires_date', 'cancellation_date',
'purchase_date_ms', 'original_purchase_date_ms', 'expires_date_ms', 'cancellation_date_ms', 'expires_date_formatted',]
'purchase_date_ms', 'original_purchase_date_ms', 'expires_date_ms', 'cancellation_date_ms', 'expires_date_formatted', ]
__EXPORT_FILTERS__ = {
'quantity': int,
'is_trial_period': _to_bool,
Expand Down

0 comments on commit bedace3

Please sign in to comment.