You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/05/10 00:25:54 UTC

[incubator-openwhisk] branch master updated: remove unused imports or dead variables as reported in travis build. (#3627)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new eb3d9a9  remove unused imports or dead variables as reported in travis build. (#3627)
eb3d9a9 is described below

commit eb3d9a9997918132992adadcb18bbdbcc907ebb3
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Wed May 9 20:25:50 2018 -0400

    remove unused imports or dead variables as reported in travis build. (#3627)
---
 actionRuntimes/actionProxy/invoke.py                                 | 1 -
 performance/gatling_tests/src/gatling/resources/data/pythonAction.py | 1 -
 tests/dat/actions/sleep.py                                           | 1 -
 tools/admin/wskadmin                                                 | 2 --
 4 files changed, 5 deletions(-)

diff --git a/actionRuntimes/actionProxy/invoke.py b/actionRuntimes/actionProxy/invoke.py
index b4957f5..1b3b471 100755
--- a/actionRuntimes/actionProxy/invoke.py
+++ b/actionRuntimes/actionProxy/invoke.py
@@ -36,7 +36,6 @@ import json
 import base64
 import requests
 import codecs
-import traceback
 import argparse
 try:
     import argcomplete
diff --git a/performance/gatling_tests/src/gatling/resources/data/pythonAction.py b/performance/gatling_tests/src/gatling/resources/data/pythonAction.py
index 0accf23..6d02cdd 100644
--- a/performance/gatling_tests/src/gatling/resources/data/pythonAction.py
+++ b/performance/gatling_tests/src/gatling/resources/data/pythonAction.py
@@ -1,7 +1,6 @@
 # Licensed to the Apache Software Foundation (ASF) under one or more contributor
 # license agreements; and to You under the Apache License, Version 2.0.imitations under the License.
 
-import sys
 def main(dict):
     if 'text' in dict:
         text = dict['text']
diff --git a/tests/dat/actions/sleep.py b/tests/dat/actions/sleep.py
index 362374c..d8dbe3e 100644
--- a/tests/dat/actions/sleep.py
+++ b/tests/dat/actions/sleep.py
@@ -9,7 +9,6 @@
 # @param parm Object with Number property sleepTimeInMs
 # @returns Object with String property msg describing how long the function slept
 #
-import sys
 import time
 
 def main(parm):
diff --git a/tools/admin/wskadmin b/tools/admin/wskadmin
index 4b85796..74b8eba 100755
--- a/tools/admin/wskadmin
+++ b/tools/admin/wskadmin
@@ -531,7 +531,6 @@ def setLimitsCmd(args, props):
         return 1
 
 def getLimitsCmd(args, props):
-    argsDict = vars(args)
     docId = args.namespace + "/limits"
     (dbDoc, res) = getDocumentFromDb(props, quote_plus(docId), args.verbose)
 
@@ -550,7 +549,6 @@ def getLimitsCmd(args, props):
         return 1
 
 def deleteLimitsCmd(args, props):
-    argsDict = vars(args)
     docId = quote_plus(args.namespace + "/limits")
     (dbDoc, res) = getDocumentFromDb(props, docId, args.verbose)
 

-- 
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.