Commit d13a5b86 authored by Jim Fulton's avatar Jim Fulton

Added some missing tear-down code.

parent e370399a
...@@ -73,6 +73,7 @@ If we reopen the first client, we'll do quick verification. We'll ...@@ -73,6 +73,7 @@ If we reopen the first client, we'll do quick verification. We'll
turn on logging so we can see this: turn on logging so we can see this:
>>> import logging, sys >>> import logging, sys
>>> old_logging_level = logging.getLogger().getEffectiveLevel()
>>> logging.getLogger().setLevel(logging.INFO) >>> logging.getLogger().setLevel(logging.INFO)
>>> handler = logging.StreamHandler(sys.stdout) >>> handler = logging.StreamHandler(sys.stdout)
>>> logging.getLogger().addHandler(handler) >>> logging.getLogger().addHandler(handler)
...@@ -139,3 +140,4 @@ do quick verification: ...@@ -139,3 +140,4 @@ do quick verification:
>>> db.close() >>> db.close()
>>> logging.getLogger().setLevel(old_logging_level)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment