Skip to content

Commit

Permalink
Change the perm attributes bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
boucher committed Feb 2, 2013
1 parent 9fa9fcc commit be95951
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stripe/__init__.py
Expand Up @@ -463,15 +463,16 @@ def handle_urllib2_error(self, e, abs_url):


class StripeObject(object):
_permanent_attributes = set(['api_key', '_retrieve_params'])
_permanent_attributes = set(['api_key'])

def __init__(self, id=None, api_key=None, params={}):
self.__dict__['_values'] = set()
self.__dict__['_unsaved_values'] = set()
self.__dict__['_transient_values'] = set()
self.__dict__['_retrieve_params'] = params

self.__dict__['api_key'] = api_key

self._retrieve_params = params
if id:
self.id = id

Expand Down

0 comments on commit be95951

Please sign in to comment.