[GRASS-SVN] r58791 - grass/trunk/lib/python/pygrass/vector

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 28 07:37:02 PST 2014


Author: zarch
Date: 2014-01-28 07:37:02 -0800 (Tue, 28 Jan 2014)
New Revision: 58791

Modified:
   grass/trunk/lib/python/pygrass/vector/__init__.py
Log:
Fix extra parameters in VectorTopo init

Modified: grass/trunk/lib/python/pygrass/vector/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/vector/__init__.py	2014-01-28 02:12:14 UTC (rev 58790)
+++ grass/trunk/lib/python/pygrass/vector/__init__.py	2014-01-28 15:37:02 UTC (rev 58791)
@@ -256,8 +256,8 @@
         False
 
     """
-    def __init__(self, name, mapset=''):
-        super(VectorTopo, self).__init__(name, mapset)
+    def __init__(self, name, mapset='', *args, **kwargs):
+        super(VectorTopo, self).__init__(name, mapset, *args, **kwargs)
         self._topo_level = 2
         self._class_name = 'VectorTopo'
 



More information about the grass-commit mailing list