From 1034f26cacb9e5f9cce732cc9e3c7877c8fa2d38 Mon Sep 17 00:00:00 2001 From: yo mama Date: Tue, 22 Sep 2015 23:08:40 -0700 Subject: getting ready for merge --- run_examples.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'run_examples.py') diff --git a/run_examples.py b/run_examples.py index ceb9a33..08e45d2 100644 --- a/run_examples.py +++ b/run_examples.py @@ -2,9 +2,10 @@ import sys sys.path.append('./lib') from Pb import * for cls in Pb.__subclasses__(): - print cls.__name__ - instance = cls.example_run() - instance.file_s3move() - print instance.file_json() - instance.db_send(); - break + if cls == PbBreak: + print cls.__name__ + instance = cls.example_run() + instance.file_s3move() + print instance.file_json() + instance.db_send(); + break -- cgit v1.2.3-70-g09d2