* src/Utils.py: grab the first word of a command line string
* src/plugins/DetAncestralReport.py: work on spouse information svn: r5266
This commit is contained in:
@@ -388,6 +388,7 @@ def gformat(val):
|
||||
return return_val.replace(decimal_point,'.')
|
||||
|
||||
def search_for(name):
|
||||
name = name.split()[0]
|
||||
for i in os.environ['PATH'].split(':'):
|
||||
fname = os.path.join(i,name)
|
||||
if os.access(fname,os.X_OK) and not os.path.isdir(fname):
|
||||
|
||||
Reference in New Issue
Block a user