Added a change to fix the local variable issue.

This commit is contained in:
Santhosh Edukulla 2014-03-19 18:34:02 -07:00 committed by Girish Shilamkar
parent 768e91ef45
commit 09e1eb69cb
1 changed files with 5 additions and 5 deletions

View File

@ -271,11 +271,11 @@ class MarvinPlugin(Plugin):
test_names = self.conf.workingDir
else:
test_names = self.conf.testNames
for suites in test_names:
if os.path.isdir(suites):
self.__runSuites(suites)
if os.path.isfile(suites):
self.__runSuite(suites)
for suites in test_names:
if os.path.isdir(suites):
self.__runSuites(suites)
if os.path.isfile(suites):
self.__runSuite(suites)
return SUCCESS
except Exception as e:
print "Exception Occurred under startMarvin: %s" % \