commit | f1de7ea2b159a753f1d32aee0cd1b8087294f2ad | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Wed Feb 05 09:27:50 2014 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Wed Feb 05 09:27:50 2014 -0800 |
tree | ae77c361d6f94929763be53e2c8721ec395756db | |
parent | be8907db3eac1c96caa62154775a6ef88c65a128 [diff] [blame] |
fix print_once undefined local
diff --git a/planetstack/observer/__init__.py b/planetstack/observer/__init__.py index 9318ddb..d9a63be 100644 --- a/planetstack/observer/__init__.py +++ b/planetstack/observer/__init__.py
@@ -25,6 +25,7 @@ else: def notify_observer(model=None, delete=False, pk=None, model_dict={}): + global print_once if (print_once): print "The observer is disabled" print_once = False