[GRASS-dev] Re: [GRASS GIS] #1534: vector_db_select fails with kwargs

GRASS GIS trac at osgeo.org
Thu Feb 16 02:41:39 EST 2012


#1534: vector_db_select fails with kwargs
-------------------------+--------------------------------------------------
 Reporter:  artegion     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:  6.4.2                    
Component:  Python       |     Version:  unspecified              
 Keywords:               |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hamish):

 patch as suggested in summary:
 {{{
 Index: releasebranch_6_4/lib/python/vector.py
 ===================================================================
 --- releasebranch_6_4/lib/python/vector.py      (revision 50829)
 +++ releasebranch_6_4/lib/python/vector.py      (working copy)
 @@ -202,7 +202,7 @@
      ret = read_command('v.db.select',
                         map = map,
                         layer = layer,
 -                       fs = '|', **kwargs)
 +                       **kwargs)

      if not ret:
          error(_('vector_select() failed'))
 }}}


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1534#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list