[GRASS-dev] [GRASS GIS] #2008: grass.script's find_program() can't find modules

GRASS GIS trac at osgeo.org
Wed Jun 19 06:48:30 PDT 2013


#2008: grass.script's find_program() can't find modules
-----------------------+----------------------------------------------------
  Reporter:  hamish    |       Owner:  grass-dev@…              
      Type:  defect    |      Status:  reopened                 
  Priority:  critical  |   Milestone:  6.4.4                    
 Component:  Python    |     Version:  svn-releasebranch64      
Resolution:            |    Keywords:  find_program()           
  Platform:  All       |         Cpu:  x86-64                   
-----------------------+----------------------------------------------------

Comment(by annakrat):

 Replying to [comment:9 zarch]:
 > Replying to [comment:8 annakrat]:
 > > > http://hg.python.org/cpython/file/6860263c05b3/Lib/shutil.py#l1068
 > >
 > > The function from the link is more complicated, than
 > > what you suggest above. Why not to use the official one?
 >
 > Yes, I completely agree, the official one is much more save and it is
 the one that we should use.
 >
 > My function was just a proof of concept and then I realize that the
 python developers already implemented it.

 What about the name? I suggest to keep the old one (find_program) but it's
 not strong opinion.

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



More information about the grass-dev mailing list