[GRASS-dev] [GRASS GIS] #1832: Python scripts are with mixed tabs and spaces

GRASS GIS trac at osgeo.org
Wed Dec 12 07:10:53 PST 2012


#1832: Python scripts are with mixed tabs and spaces
-------------------------+--------------------------------------------------
 Reporter:  klo          |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Python       |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hellik):

 Replying to [comment:4 wenzeslaus]:
 > The problem is that we use 4 spaces indentation which really does not
 fit with 8 spaces wide tabs. In my view, it causes confusion. Of course,
 you often realize where is the problem, but is it necessary? (The is
 similar for GRASS C code (#1663) but the problem for Python is more
 critical since we don't and cannot have auto-indent tool for Python.)

 maybe it's worth to have a look to the original issue(but maybe not
 related and worth for another ticket?):

 http://lists.osgeo.org/pipermail/osgeo4w-dev/2012-December/001970.html

 {{{
 I don't know if this is relevant for this list, but while looking to patch
 right file to stop QGIS GRASS plugin from spawning popup windows on every
 command execution
 }}}

 as this can also be seen sometimes with osge4w/standalone-wingrass7

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1832#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list