cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/master to 5ed493c
Date Fri, 04 Oct 2013 08:44:05 GMT
Updated Branches:
  refs/heads/master 73f684384 -> 5ed493c6e


pep8: fix recent pep8 violations

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5ed493c6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5ed493c6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5ed493c6

Branch: refs/heads/master
Commit: 5ed493c6e6d9252e7738a29bf9753d46a75bea41
Parents: 73f6843
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Fri Oct 4 14:13:37 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Fri Oct 4 14:13:37 2013 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/deployAndRun.py     | 22 +++++++++++++---------
 tools/marvin/marvin/deployDataCenter.py |  4 ++--
 2 files changed, 15 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5ed493c6/tools/marvin/marvin/deployAndRun.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/deployAndRun.py b/tools/marvin/marvin/deployAndRun.py
index d162fb3..8a758a1 100644
--- a/tools/marvin/marvin/deployAndRun.py
+++ b/tools/marvin/marvin/deployAndRun.py
@@ -73,20 +73,24 @@ if __name__ == "__main__":
             n = 0
             while(n < iterates):
                 engine = \
-                    TestCaseExecuteEngine.TestCaseExecuteEngine(deploy.testClient,
-                                                            deploy.getCfg(),
-                                                            testCaseLogFile,
-                                                            testResultLogFile)
+                    TestCaseExecuteEngine.TestCaseExecuteEngine(
+                        deploy.testClient,
+                        deploy.getCfg(
+                        ),
+                        testCaseLogFile,
+                        testResultLogFile)
                 engine.loadTestsFromFile(options.module)
                 engine.run()
                 n = n + 1
     else:
         n = 0
-        while(n<iterates):
-            engine = TestCaseExecuteEngine.TestCaseExecuteEngine(deploy.testClient,
-                                                             deploy.getCfg(),
-                                                             testCaseLogFile,
-                                                             testResultLogFile)
+        while(n < iterates):
+            engine = TestCaseExecuteEngine.TestCaseExecuteEngine(
+                deploy.testClient,
+                deploy.getCfg(
+                ),
+                testCaseLogFile,
+                testResultLogFile)
             engine.loadTestsFromDir(options.testCaseFolder)
             engine.run()
             n = n + 1

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5ed493c6/tools/marvin/marvin/deployDataCenter.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/deployDataCenter.py b/tools/marvin/marvin/deployDataCenter.py
index 8cc9cd4..beed8c8 100644
--- a/tools/marvin/marvin/deployDataCenter.py
+++ b/tools/marvin/marvin/deployDataCenter.py
@@ -580,8 +580,8 @@ specify a valid config file" % cfgFile)
     def copyAttributesToCommand(self, source, command):
 
         map(lambda attr: setattr(command, attr, getattr(source, attr, None)),
-            filter(lambda attr: not attr.startswith("__") and
-            attr not in ["required", "isAsync"], dir(command)))
+            filter(lambda attr: not attr.startswith("__") and attr not in
+                   ["required", "isAsync"], dir(command)))
 
     def configureS3(self, s3):
         if s3 is None:


Mime
View raw message