Commits

Josh VanderLinden committed 9665bbb

Eesh, this is dumb

Comments (0)

Files changed (2)

 # Maintainer: Josh VanderLinden <arch@cloudlery.com>
 pkgname=zedify
 pkgver=20130516
-pkgrel=4
+pkgrel=5
 pkgdesc="Deliver message notifications to remote machines"
 arch=('any')
 url="http://bitbucket.org/codekoala/zedify"
             self.pub.close()
             self.sub.close()
 
-    def handle_status(self, msg):
+    def handle_status(self, msg=None):
         """Publish the number of unseen messages"""
 
+        msg = msg or {}
         self.pub.send_json({
             'event': 'current_status',
             'unseen': {k: len(v) for k, v in self.unseen.items() if v}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.