Alternative local server shutdown (mostly intended for Windows).

This commit is contained in:
Jeremy
2015-03-13 18:57:27 -06:00
parent 4ccca5dc99
commit cf92bfe81e
4 changed files with 37 additions and 3 deletions

View File

@ -42,6 +42,16 @@ class ProjectManager:
cls._instance = cls()
return cls._instance
@property
def projects(self):
"""
Returns all projects.
:returns: Project instances
"""
return self._projects.values()
def get_project(self, project_id):
"""
Returns a Project instance.