CC-5278: Exception in Pypo
This commit is contained in:
parent
f9a1cae72e
commit
de76b3a12f
|
@ -209,7 +209,8 @@ class PypoFetch(Thread):
|
|||
except Exception, e:
|
||||
self.logger.error(e)
|
||||
finally:
|
||||
self.telnet_lock.release()
|
||||
if self.telnet_lock.locked():
|
||||
self.telnet_lock.release()
|
||||
|
||||
"""
|
||||
TODO: This function needs to be way shorter, and refactored :/ - MK
|
||||
|
|
Loading…
Reference in New Issue