Bindings/python/Growl.py
changeset 4182 69b5347d8262
parent 3928 8a7f66f30c17
child 4183 2e72fc363066
     1.1 --- a/Bindings/python/Growl.py	Thu Sep 20 16:53:34 2007 +0000
     1.2 +++ b/Bindings/python/Growl.py	Wed Mar 25 04:11:45 2009 -0700
     1.3 @@ -173,11 +173,11 @@
     1.4  	def __init__(self, applicationName=None, notifications=None, defaultNotifications=None, applicationIcon=None, hostname=None, password=None):
     1.5  		if applicationName:
     1.6  			self.applicationName = applicationName
     1.7 -		assert(self.applicationName, 'An application name is required.')
     1.8 +		assert self.applicationName, 'An application name is required.'
     1.9  
    1.10  		if notifications:
    1.11  			self.notifications = list(notifications)
    1.12 -		assert(self.notifications, 'A sequence of one or more notification names is required.')
    1.13 +		assert self.notifications, 'A sequence of one or more notification names is required.'
    1.14  
    1.15  		if defaultNotifications is not None:
    1.16  			self.defaultNotifications = list(defaultNotifications)