diff options
Diffstat (limited to 'python/quantifi_status.py')
| -rw-r--r-- | python/quantifi_status.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/python/quantifi_status.py b/python/quantifi_status.py index 0e9edfab..43b28e0b 100644 --- a/python/quantifi_status.py +++ b/python/quantifi_status.py @@ -1,10 +1,8 @@ -from stat import S_ISREG import time from contextlib import contextmanager -from report_ops.status import QuantifiRemote from paramiko.ssh_exception import SSHException -import logging -from contextlib import contextmanager + +from report_ops.status import QuantifiRemote @contextmanager @@ -31,7 +29,7 @@ def close_and_reconnect(): def run(): try: for f in QuantifiRemote._client.list_files("/OUTGOING/Status"): - item = QuantifiRemote.process(f) + QuantifiRemote.process(f) except (SSHException, OSError): close_and_reconnect() time.sleep(60) |
