use return instead of two nested breaks that do not even work correctly like it is used here

This commit is contained in:
Christoph Kords 2011-11-04 11:30:29 +00:00
parent ee7022d8cf
commit 4966231e5b
1 changed files with 2 additions and 3 deletions

View File

@ -29,11 +29,10 @@ class MSC_TOOLS():
libPath = '%s/mentat%s/shlib/%s'%(MSCpath,release,subdir)
if os.path.exists(libPath):
thePath = libPath
break
return thePath
else:
continue
break
return thePath
def submit_job(self,
run_marc_path='/msc/marc2010/tools/',