[Pcsclite-git-commit] [PCSC] 04/05: pep8: fix warnings
Ludovic Rousseau
rousseau at moszumanska.debian.org
Wed Feb 15 22:53:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository PCSC.
commit a15f6012bcedb871fad486a68bada20fb08e1ca3
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Wed Feb 15 23:50:05 2017 +0100
pep8: fix warnings
SCardBlockingBehaviourTest.py:132:1: E265 block comment should start with '# '
SCardBlockingBehaviourTest.py:214:5: E265 block comment should start with '# '
SCardBlockingBehaviourTest.py:241:9: E265 block comment should start with '# '
---
UnitaryTests/SCardBlockingBehaviourTest.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/UnitaryTests/SCardBlockingBehaviourTest.py b/UnitaryTests/SCardBlockingBehaviourTest.py
index 3139386..955b10c 100755
--- a/UnitaryTests/SCardBlockingBehaviourTest.py
+++ b/UnitaryTests/SCardBlockingBehaviourTest.py
@@ -129,7 +129,7 @@ def SCardBeginTransactionTest(hcontextTest, hcardTest, readerName):
unblocked = True
-#def TemplateTest(hcontextTest, hcardTest, readerName):
+# def TemplateTest(hcontextTest, hcardTest, readerName):
# global unblocked
# testFunctionName = sys._getframe().f_code.co_name
# print("Test thread for %s" % testFunctionName)
@@ -211,7 +211,7 @@ def main():
BLUE = "\033[0;34m"
NORMAL = "\033[00m"
- #if len(sys.argv) < 4:
+ # if len(sys.argv) < 4:
# print(usage)
# sys.exit(1)
# Allow to specify test name
@@ -238,7 +238,7 @@ def main():
else:
print("non blocking")
thread.start_new_thread(tests[testTarget][0], (hcontextTest, hcardTest, readerName))
- #print("Thread started")
+ # print("Thread started")
time.sleep(1)
if (unblocked and tests[testTarget][1]) or ((not unblocked) and (not tests[testTarget][1])):
failed = True
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git
More information about the Pcsclite-cvs-commit
mailing list