From 2b4576172cfc845bd13fdb3002a48d9f5b526a9c Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Mon, 30 Aug 2010 14:28:40 +0200 Subject: Add standardized return codes for Back and Abort actions --- pyfirstaidkit/returns.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyfirstaidkit/returns.py b/pyfirstaidkit/returns.py index 4757977..4e8786e 100644 --- a/pyfirstaidkit/returns.py +++ b/pyfirstaidkit/returns.py @@ -37,6 +37,12 @@ class ReturnFalse(Return): class ReturnNone(Return): pass +class ReturnBack(Return): + pass + +class ReturnAbort(Return): + pass + # # The Success and Failure return classes are implemented to give a more # intuitive/logical approach to the default flow. The value given to the return -- cgit