CC-5278: Exception in Pypo

This commit is contained in:
denise 2013-07-17 15:29:21 -04:00
parent f9a1cae72e
commit de76b3a12f
1 changed files with 2 additions and 1 deletions

View File

@ -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