BaseScript: added log msg about script's normal shutdown
authormartinko <gamato@users.sf.net>
Thu, 31 Jul 2014 07:55:51 +0000 (09:55 +0200)
committermartinko <gamato@users.sf.net>
Thu, 31 Jul 2014 07:55:51 +0000 (09:55 +0200)
python/skytools/scripting.py

index 77c1bec51499c28b95a7b56eca192d10c05b31dd..23660cede25a28d8ae98331f45b28aaea7f00e1d 100644 (file)
@@ -671,7 +671,7 @@ class BaseScript(object):
         In case of daemon, if will be called in same process as work(),
         unlike __init__().
         """
-        pass
+        self.log.info("Script finished, exiting")
 
     # define some aliases (short-cuts / backward compatibility cruft)
     stat_add = stat_put                 # Old, deprecated function.