[GRASS-SVN] r61761 - grass/trunk/lib/python/pygrass/messages

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 27 12:45:54 PDT 2014


Author: huhabla
Date: 2014-08-27 12:45:54 -0700 (Wed, 27 Aug 2014)
New Revision: 61761

Modified:
   grass/trunk/lib/python/pygrass/messages/__init__.py
Log:
python pygrass messages: The message interface must be explicitely stopped using the stop function at exit, a destructor is not needed and leads to errors.

Modified: grass/trunk/lib/python/pygrass/messages/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/messages/__init__.py	2014-08-27 19:43:29 UTC (rev 61760)
+++ grass/trunk/lib/python/pygrass/messages/__init__.py	2014-08-27 19:45:54 UTC (rev 61761)
@@ -175,9 +175,6 @@
         self.raise_on_error = raise_on_error
         self.start_server()
 
-    def __del__(self):
-        self.stop()
-
     def start_server(self):
         """Start the messenger server and open the pipe
         """



More information about the grass-commit mailing list