author | johansen <johansen@opensolaris.org> |
Tue, 09 Nov 2010 13:27:02 -0800 | |
branch | oi_151a |
changeset 2538 | ab1197a742ab |
parent 2537 | 82ca1bf8d191 |
child 2539 | 4d886e93dafc |
--- a/src/modules/client/api.py Thu Apr 28 11:44:04 2011 -0700 +++ b/src/modules/client/api.py Tue Nov 09 13:27:02 2010 -0800 @@ -880,7 +880,8 @@ self.__finished_execution(be) finally: self.__img.cleanup_downloads() - self.__img.unlock() + if self.__img.locked: + self.__img.unlock() self.__activity_lock.release() def __finished_execution(self, be):