Permalink
Browse files

Making MCP components' status into a more standard format.

  • Loading branch information...
jaredbischof committed Mar 18, 2013
1 parent 6acf423 commit bcb9f64bddb0eabe662f4a670a6ff45e0dfe1a72
Showing with 1 addition and 2 deletions.
  1. +1 −2 mcp_modules/mcp_api.py
View
@@ -9,9 +9,8 @@ def __init__(self, MCP_dir):
self.state = { 'resource':self.__class__.__name__,
'updated':time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()),
'url':self.json_conf['global']['apiurl'] + "/" + str(self.json_conf['mcp_api']['version']) + "/" + self.__class__.__name__,
- 'status':'online'
+ 'status': { 'site' : 'online' }
}
- self.apidir = self.json_conf['mcp_api']['dir'] + "/" + str(self.json_conf['mcp_api']['version'])
self.services = self.json_conf['global']['services']
def start(self):

0 comments on commit bcb9f64

Please sign in to comment.