From: "Brenda J. Butler" <bjb@mojatatu.com>
To: davem@davemloft.net
Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us,
chrism@mellanox.com, lucasb@mojatatu.com, aring@mojatatu.com,
mrv@mojatatu.com, netdev@vger.kernel.org,
"Brenda J. Butler" <bjb@mojatatu.com>
Subject: [PATCH net-next 1/2] tools: tc-testing: whitespace and .gitignore
Date: Fri, 23 Feb 2018 10:51:32 -0500 [thread overview]
Message-ID: <20180223155133.17125-2-bjb@mojatatu.com> (raw)
In-Reply-To: <20180223155133.17125-1-bjb@mojatatu.com>
Fix indentation and add editor backup files to .gitignore
Signed-off-by: Brenda J. Butler <bjb@mojatatu.com>
---
tools/testing/selftests/tc-testing/.gitignore | 1 +
tools/testing/selftests/tc-testing/tdc.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/tc-testing/.gitignore b/tools/testing/selftests/tc-testing/.gitignore
index 7a60b85e148f..d668a0fdea39 100644
--- a/tools/testing/selftests/tc-testing/.gitignore
+++ b/tools/testing/selftests/tc-testing/.gitignore
@@ -1,2 +1,3 @@
__pycache__/
*.pyc
+*.py~
diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-testing/tdc.py
index b3754b9aa302..ab28373dccd7 100755
--- a/tools/testing/selftests/tc-testing/tdc.py
+++ b/tools/testing/selftests/tc-testing/tdc.py
@@ -347,9 +347,9 @@ def check_default_settings(args, remaining, pm):
global NAMES
if args.path != None:
- NAMES['TC'] = args.path
+ NAMES['TC'] = args.path
if args.device != None:
- NAMES['DEV2'] = args.device
+ NAMES['DEV2'] = args.device
if not os.path.isfile(NAMES['TC']):
print("The specified tc path " + NAMES['TC'] + " does not exist.")
exit(1)
--
2.15.1
next prev parent reply other threads:[~2018-02-23 15:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 15:51 [PATCH net-next 0/2] tools: tc-testing: better error reporting Brenda J. Butler
2018-02-23 15:51 ` Brenda J. Butler [this message]
2018-02-23 16:13 ` [PATCH net-next 1/2] tools: tc-testing: whitespace and .gitignore Andrew Lunn
2018-02-23 16:59 ` Brenda Butler
2018-02-23 15:51 ` [PATCH net-next 2/2] tools: tc-testing: better error reporting Brenda J. Butler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180223155133.17125-2-bjb@mojatatu.com \
--to=bjb@mojatatu.com \
--cc=aring@mojatatu.com \
--cc=chrism@mellanox.com \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=lucasb@mojatatu.com \
--cc=mrv@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).