Permalink
Browse files

added getStatusAll() method

  • Loading branch information...
1 parent 8c4f9f4 commit 2c7a9f87b9000abf39abaac1b74137876868c788 @trey0 trey0 committed Nov 30, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 geocamPycroraptor2/manager.py
@@ -198,6 +198,13 @@ def getStatus(self, svcName):
"""
return self._getService(svcName).getStatus()
+ def getStatusAll(self):
+ """
+ Get status of all services.
+ """
+ return dict([(svcName, svc.getStatus())
+ for svcName, svc in self._services.iteritems()])
+
def quit(self):
"""
Stop all managed services and quit pyraptord.

0 comments on commit 2c7a9f8

Please sign in to comment.