Change in osmo-gsm-tester[master]: pyflakes: Rename local variable to not shadow import

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Wed Feb 27 07:15:12 UTC 2019


Holger Freyther has uploaded this change for review. ( https://gerrit.osmocom.org/13073


Change subject: pyflakes: Rename local variable to not shadow import
......................................................................

pyflakes: Rename local variable to not shadow import

Change-Id: Ib70130dbbeeeb9813eaea707bf66f1db91088b92
---
M src/osmo_gsm_tester/report.py
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/73/13073/1

diff --git a/src/osmo_gsm_tester/report.py b/src/osmo_gsm_tester/report.py
index 224cc46..4919937 100644
--- a/src/osmo_gsm_tester/report.py
+++ b/src/osmo_gsm_tester/report.py
@@ -42,8 +42,8 @@
         testsuite.set('time', str(math.ceil(suite.duration)))
     testsuite.set('tests', str(len(suite.tests)))
     testsuite.set('failures', str(suite.count_test_results()[2]))
-    for test in suite.tests:
-        testcase = test_to_junit(test)
+    for suite_test in suite.tests:
+        testcase = test_to_junit(suite_test)
         testsuite.append(testcase)
     return testsuite
 

-- 
To view, visit https://gerrit.osmocom.org/13073
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib70130dbbeeeb9813eaea707bf66f1db91088b92
Gerrit-Change-Number: 13073
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190227/ce0c044e/attachment.htm>


More information about the gerrit-log mailing list