From 4acb155fac6d58efee447fccf27eca89f1222f89 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Sun, 9 Mar 2014 19:50:46 +0100 Subject: [PATCH 1/3] Small PEP8 corrections --- publish_subscribe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish_subscribe.py b/publish_subscribe.py index 46a91476..255b7dd5 100644 --- a/publish_subscribe.py +++ b/publish_subscribe.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -''' +""" Reference: http://www.slideshare.net/ishraqabd/publish-subscribe-model-overview-13368808 Author: https://github.com/HanWenfang -''' +""" class Provider: From e08d0cc774007840456988afeaea3084490c035a Mon Sep 17 00:00:00 2001 From: Jeroen Date: Sun, 9 Mar 2014 19:51:10 +0100 Subject: [PATCH 2/3] Small PEP8 corrections --- memento.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/memento.py b/memento.py index 018a7079..5a83d213 100644 --- a/memento.py +++ b/memento.py @@ -91,7 +91,8 @@ def DoStuff(self): n.DoStuff() except: print('-> doing stuff failed!') - import sys, traceback + import sys + import traceback traceback.print_exc(file=sys.stdout) pass print(n) From ed68d2aba9c29df08f7439bb164f3519e354e2d4 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Sun, 9 Mar 2014 19:51:22 +0100 Subject: [PATCH 3/3] Small PEP8 corrections --- facade.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/facade.py b/facade.py index a9b9967c..027b6be9 100644 --- a/facade.py +++ b/facade.py @@ -5,6 +5,7 @@ SLEEP = 0.5 + # Complex Parts class TC1: def run(self): @@ -68,16 +69,16 @@ def runAll(self): # Running test # Tearing down # Test Finished -# +# # ###### In Test 2 ###### # Setting up # Running test # Tearing down # Test Finished -# +# # ###### In Test 3 ###### # Setting up # Running test # Tearing down # Test Finished -# +#