Permalink
Browse files

set meta_data if don't have it

  • Loading branch information...
1 parent 1fc2b08 commit 813ec150c0cb86f458d75505d5b545db0d633838 @japerk committed Apr 10, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 pycheddar/__init__.py
View
@@ -466,6 +466,9 @@ def __init__(self, **kwargs):
self.subscription = Subscription(parent = self)
super(Customer, self).__init__(**kwargs)
+ if not hasattr(self, 'meta_data'):
+ self.meta_data = []
+
@classmethod
def all(cls):

0 comments on commit 813ec15

Please sign in to comment.