Remove mutable objects from function args

This commit is contained in:
Ruud committed 2013-09-02 22:44:44 +02:00
1 parent 7fd14e0283
commit 779c7d2942
39 files changed
+147 -65

No files matched your search

@@ -8,7 +8,8 @@ log = CPLog(__name__)
class NotifyMyAndroid(Notification):
def notify(self, message = '', data = {}, listener = None):
def notify(self, message = '', data = None, listener = None):
if not data: data = {}
nma = pynma.PyNMA()
keys = splitString(self.conf('api_key'))