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

GRASS GIS trac at osgeo.org
Tue Dec 11 10:46:43 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:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 I noticed that majority of python files in GRASS distribution are with
 mixed tabs and spaces.
 Mixing tabs and spaces is not good idea:
 http://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

 In OSGeo4W, python files with mixed tabs and spaces can be found in these
 folders and/or their sub-folders:

   C:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\gui\scripts[[BR]]
   C:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\python\grass\script[[BR]]
   C:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython[[BR]]
   C:\OSGeo4W\apps\qgis\grass\scripts[[BR]]

 Same applies for grass-dev version (7.0)

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



More information about the grass-dev mailing list