Commits

Stefan Scherfke committed 16e8ade

Recompiled Growl Python binding.

  • Participants
  • Parent commits 7855a3b

Comments (0)

Files changed (5)

File Tea Timer.wdgt/lib/Growl.py

 import _growl
 import types
 import struct
-import md5
+import hashlib
 import socket
 
 GROWL_UDP_PORT=9887
 		return self.encodePassword(data)
 
 	def encodePassword(self, data):
-		checksum = md5.new()
+		checksum = hashlib.md5()
 		checksum.update(data)
 		if self.password:
 		   checksum.update(self.password)
 	def __init__(self, applicationName=None, notifications=None, defaultNotifications=None, applicationIcon=None, hostname=None, password=None):
 		if applicationName:
 			self.applicationName = applicationName
-		assert(self.applicationName, 'An application name is required.')
+		assert self.applicationName, 'An application name is required.'
 
 		if notifications:
 			self.notifications = list(notifications)
-		assert(self.notifications, 'A sequence of one or more notification names is required.')
+		assert self.notifications, 'A sequence of one or more notification names is required.'
 
 		if defaultNotifications is not None:
 			self.defaultNotifications = list(defaultNotifications)

File Tea Timer.wdgt/lib/Growl.pyc

Binary file modified.

File Tea Timer.wdgt/lib/__init__.pyc

Binary file modified.

File Tea Timer.wdgt/lib/_growl.so

Binary file modified.

File Tea Timer.wdgt/lib/_growlImage.so

Binary file modified.