From df43156bb35a442c4988631e1c2b0bd0fc11e618 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 29 Apr 2021 10:09:33 +0200 Subject: Examples: Fix some space-related flake warnings Task-number: PYSIDE-1112 Change-Id: Ib8991199e4822673d6a25cba0023dbe3b03f5938 Reviewed-by: Cristian Maureira-Fredes --- examples/samplebinding/main.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/samplebinding/main.py') diff --git a/examples/samplebinding/main.py b/examples/samplebinding/main.py index 144b36933..f6f9f1fa9 100644 --- a/examples/samplebinding/main.py +++ b/examples/samplebinding/main.py @@ -43,6 +43,7 @@ from Universe import Icecream, Truck + class VanillaChocolateIcecream(Icecream): def __init__(self, flavor=""): super().__init__(flavor) @@ -53,6 +54,7 @@ class VanillaChocolateIcecream(Icecream): def getFlavor(self): return "vanilla sprinked with chocolate" + class VanillaChocolateCherryIcecream(VanillaChocolateIcecream): def __init__(self, flavor=""): super().__init__(flavor) @@ -64,6 +66,7 @@ class VanillaChocolateCherryIcecream(VanillaChocolateIcecream): base_flavor = super(VanillaChocolateCherryIcecream, self).getFlavor() return base_flavor + " and a cherry" + if __name__ == '__main__': leave_on_destruction = True truck = Truck(leave_on_destruction) -- cgit v1.2.3