coding style in question_frontend.py
authorConstantin Berhard <git.mail.enormator@xoxy.net>
Tue, 28 Jul 2015 10:49:02 +0000 (12:49 +0200)
committerConstantin Berhard <git.mail.enormator@xoxy.net>
Tue, 28 Jul 2015 10:49:02 +0000 (12:49 +0200)
question_frontend.py

index 4782ba1bbe9df5e2ee889228dc686399e59de864..a17b7ca95b2229f0eb9bc6a1d6bbfd68d55a7e5f 100644 (file)
@@ -34,9 +34,11 @@ class OperationMode(Enum):
 class QuestionFrontend:
     def userChoose (self, title, choices, returns, fallback):
         raise Exception("The abstract method 'userChoose' has not been implemented by %s"%str(self.__class__))
 class QuestionFrontend:
     def userChoose (self, title, choices, returns, fallback):
         raise Exception("The abstract method 'userChoose' has not been implemented by %s"%str(self.__class__))
+
     def selectResolution(self, displayname, availablemodes):
         modedescs = list(map(str, availablemodes))
         return self.userChoose("Select resolution for %s"%displayname, modedescs, availablemodes, None)
     def selectResolution(self, displayname, availablemodes):
         modedescs = list(map(str, availablemodes))
         return self.userChoose("Select resolution for %s"%displayname, modedescs, availablemodes, None)
+
     def setup (self, situation):
         operationmodes = list(OperationMode)
         operationmodedescs = list(map(lambda x: x.text, operationmodes))
     def setup (self, situation):
         operationmodes = list(OperationMode)
         operationmodedescs = list(map(lambda x: x.text, operationmodes))