diff ChangeLog @ 30:fea63a224065

Stop still running projects before getan quits - even if getan crashes.
author Ingo Weinzierl <ingo_weinzierl@web.de>
date Mon, 30 Aug 2010 22:21:47 +0200
parents 60c0bcdf01ab
children fa5b3b1db867
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 30 10:56:17 2010 +0200
+++ b/ChangeLog	Mon Aug 30 22:21:47 2010 +0200
@@ -1,3 +1,16 @@
+2010-08-30  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* getan.py: Added __enter__ and __exit__ methods. The exit method is used to
+	  stop still running projects - even if getan crashes. Therefor it was
+	  necessary to change the method signature of stop_project() in
+	  GetanController. The description for the running project is given into the
+	  method as parameter. If no desc parameter is specified, '-no description-'
+	  is used as description. This is the case if there are still running
+	  projects when we reach __exit__().
+
+	* getan/states.py: Added a description when calling stop_project() of
+	  GetanController.
+
 2010-08-30  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* getan/view.py: Bugfix: Unified parameter names in ProjectList - some
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)