diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-01-29 16:19:30 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-01-29 16:19:30 -0500 |
commit | b3c5591d70c1c354d14267e804ab64872af97b40 (patch) | |
tree | a361f4d0ea060df23ffbccf9961f38bb01a65d23 /examples/service_checker.py | |
parent | 1d60f197dab809e9a51c3377587d46370e698c52 (diff) | |
download | func-b3c5591d70c1c354d14267e804ab64872af97b40.tar.gz func-b3c5591d70c1c354d14267e804ab64872af97b40.tar.xz func-b3c5591d70c1c354d14267e804ab64872af97b40.zip |
All exceptions, async or otherwise, now come back as easily detectable signatures. Use utils.is_error(result)
to determine if something is an error or isn't. Example scripts as well as func-inventory have been updated.
See async_test.py for examples.
Diffstat (limited to 'examples/service_checker.py')
-rw-r--r-- | examples/service_checker.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/service_checker.py b/examples/service_checker.py index 543290d..5541619 100644 --- a/examples/service_checker.py +++ b/examples/service_checker.py @@ -21,7 +21,6 @@ import sys import func.overlord.client as fc - if __name__ == '__main__': try: service = sys.argv[1] |