def register_send(self):
 print 'Sending Local Registration'
 notifications = []
 defaultNotifications = []
 for notice in self.notifications:
  notifications.append(notice['Notification-Name'])
  if notice.get('Notification-Enabled', True):
   defaultNotifications.append(notice['Notification-Name'])
 appIcon = get_resource(self, 'Application-Icon')
 growl = Growl.GrowlNotifier(applicationName=self.headers['Application-Name'], notifications=notifications, defaultNotifications=defaultNotifications, applicationIcon=appIcon)
 growl.register()
 return self.encode()

def register_send ( self ) : print 'Sending Local Registration' notifications = [ ] defaultNotifications = [ ] for notice in self . notifications : notifications . append ( notice [ 'Notification-Name' ] ) if notice . get ( 'Notification-Enabled' , True ) : defaultNotifications . append ( notice [ 'Notification-Name' ] ) appIcon = get_resource ( self , 'Application-Icon' ) growl = Growl . GrowlNotifier ( applicationName = self . headers [ 'Application-Name' ] , notifications = notifications , defaultNotifications = defaultNotifications , applicationIcon = appIcon ) growl . register ( ) return self . encode ( )
resend a gntp register message to growl running on a local osx machine .