Added a change to fix the local variable issue.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/09e1eb69 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/09e1eb69 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/09e1eb69 Branch: refs/heads/master Commit: 09e1eb69cb717078a931bdedd30ab09d48d2064d Parents: 768e91e Author: Santhosh Edukulla <[email protected]> Authored: Wed Mar 19 18:34:02 2014 -0700 Committer: Girish Shilamkar <[email protected]> Committed: Wed Mar 19 18:34:02 2014 -0700 ---------------------------------------------------------------------- tools/marvin/marvin/marvinPlugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/09e1eb69/tools/marvin/marvin/marvinPlugin.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/marvinPlugin.py b/tools/marvin/marvin/marvinPlugin.py index 3a364b1..09ff340 100644 --- a/tools/marvin/marvin/marvinPlugin.py +++ b/tools/marvin/marvin/marvinPlugin.py @@ -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" % \
