* 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:
Don Allingham
2005-10-04 03:41:41 +00:00
parent 569af0f288
commit 054a803b86
3 changed files with 11 additions and 10 deletions

View File

@@ -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):