diff mbox series

[ACT,3/3] UBUNTU: SAUCE: ubuntu_ltp: no need for pass in regular function

Message ID 20210628075217.12395-3-krzysztof.kozlowski@canonical.com
State New
Headers show
Series [ACT,1/3] UBUNTU: SAUCE: ubuntu_ltp: import pending LTP patches for several failures | expand

Commit Message

Krzysztof Kozlowski June 28, 2021, 7:52 a.m. UTC
"pass" is needed only for empty blocks.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 ubuntu_ltp/ubuntu_ltp.py               | 1 -
 ubuntu_ltp_stable/ubuntu_ltp_stable.py | 1 -
 2 files changed, 2 deletions(-)

Comments

Po-Hsu Lin June 29, 2021, 3:56 a.m. UTC | #1
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

Applied and pushed.

Thanks
Sam
diff mbox series

Patch

diff --git a/ubuntu_ltp/ubuntu_ltp.py b/ubuntu_ltp/ubuntu_ltp.py
index 9d0f96d4730c..8f4beee5dbba 100644
--- a/ubuntu_ltp/ubuntu_ltp.py
+++ b/ubuntu_ltp/ubuntu_ltp.py
@@ -84,7 +84,6 @@  class ubuntu_ltp(test.test):
     def initialize(self):
         self.flavour = re.split('-\d*-', platform.uname()[2])[-1]
         self.arch = platform.processor()
-        pass
 
     # setup
     #
diff --git a/ubuntu_ltp_stable/ubuntu_ltp_stable.py b/ubuntu_ltp_stable/ubuntu_ltp_stable.py
index 591cc70d2320..bbc2b2418fd6 100644
--- a/ubuntu_ltp_stable/ubuntu_ltp_stable.py
+++ b/ubuntu_ltp_stable/ubuntu_ltp_stable.py
@@ -54,7 +54,6 @@  class ubuntu_ltp_stable(test.test):
     def initialize(self):
         self.flavour = re.split('-\d*-', platform.uname()[2])[-1]
         self.arch = platform.processor()
-        pass
 
     # setup
     #