fix quota bug
authorSofia Papagiannaki <papagian@gmail.com>
Tue, 18 Oct 2011 10:18:22 +0000 (13:18 +0300)
committerSofia Papagiannaki <papagian@gmail.com>
Tue, 18 Oct 2011 10:18:22 +0000 (13:18 +0300)
pithos/backends/base.py

index 25e51ee..308eb4a 100644 (file)
@@ -138,7 +138,7 @@ class BaseBackend(object):
         """
         return
     
-    def put_account(self, user, account, policy=None):
+    def put_account(self, user, account, policy={}):
         """Create a new account with the given name.
         
         Raises:
@@ -237,7 +237,7 @@ class BaseBackend(object):
         """
         return
     
-    def put_container(self, user, account, container, policy=None):
+    def put_container(self, user, account, container, policy={}):
         """Create a new container with the given name.
         
         Raises: