Permalink
Browse files

Change the perm attributes bit.

  • Loading branch information...
1 parent 9fa9fcc commit be95951fe3d41f5d14ddc1dc460e0f1b97ebaf01 @boucher boucher committed Feb 2, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 stripe/__init__.py
View
@@ -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

0 comments on commit be95951

Please sign in to comment.