Skip to content

Commit

Permalink
Clean up Python samples
Browse files Browse the repository at this point in the history
  • Loading branch information
samcmill committed Mar 7, 2020
1 parent 53c95e8 commit fd978cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/samples/python/core-count.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
from __future__ import print_function

import json
import logging
import re
import sys

try:
import wassail
except:
except ModuleNotFoundError:
# If the wassail module is installed in a non-default location,
# you may need to set the PYTHONPATH environment variable to that
# location. Also use the same python version the module was built
Expand Down
5 changes: 1 addition & 4 deletions src/samples/python/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@
from __future__ import print_function

import json
import logging
import re
import sys

try:
import wassail
except:
except ModuleNotFoundError:
# If the wassail module is installed in a non-default location,
# you may need to set the PYTHONPATH environment variable to that
# location. Also use the same python version the module was built
Expand Down

0 comments on commit fd978cf

Please sign in to comment.