diff -Nru pyhoca-cli-0.6.1.3/debian/bzr-builder.manifest pyhoca-cli-0.6.1.3/debian/bzr-builder.manifest --- pyhoca-cli-0.6.1.3/debian/bzr-builder.manifest 2019-12-27 14:32:26.000000000 +0000 +++ pyhoca-cli-0.6.1.3/debian/bzr-builder.manifest 2020-03-11 05:47:00.000000000 +0000 @@ -1,2 +1,2 @@ -# bzr-builder format 0.3 deb-version {debupstream}-0~337 -lp:~x2go/x2go/pyhoca-cli_master revid:git-v1:3a139d8c7f11bbc458df5b16f2da1c38623e4193 +# bzr-builder format 0.3 deb-version {debupstream}-0~338 +lp:~x2go/x2go/pyhoca-cli_master revid:git-v1:2b507520a7b4984d7020a6d5153d29350a24a9a9 diff -Nru pyhoca-cli-0.6.1.3/debian/changelog pyhoca-cli-0.6.1.3/debian/changelog --- pyhoca-cli-0.6.1.3/debian/changelog 2019-12-27 14:32:26.000000000 +0000 +++ pyhoca-cli-0.6.1.3/debian/changelog 2020-03-11 05:47:00.000000000 +0000 @@ -1,12 +1,15 @@ -pyhoca-cli (0.6.1.3-0~337~ubuntu19.04.1) disco; urgency=low +pyhoca-cli (0.6.1.3-0~338~ubuntu19.04.1) disco; urgency=low * Auto build. - -- X2Go Fri, 27 Dec 2019 14:32:26 +0000 + -- X2Go Wed, 11 Mar 2020 05:47:00 +0000 pyhoca-cli (0.6.1.3-0x2go1) UNRELEASED; urgency=medium - * Continue development + [ Mike Gabriel ] + * pyhoca/cli/frontend.py: Fix reference before assignment error in + resume_session() method. Thanks to Randy Goldenberg for spotting + this. (Fixes: #1445). -- X2Go Release Manager Thu, 26 Dec 2019 17:03:42 +0100 diff -Nru pyhoca-cli-0.6.1.3/pyhoca/cli/frontend.py pyhoca-cli-0.6.1.3/pyhoca/cli/frontend.py --- pyhoca-cli-0.6.1.3/pyhoca/cli/frontend.py 2019-12-27 14:32:26.000000000 +0000 +++ pyhoca-cli-0.6.1.3/pyhoca/cli/frontend.py 2020-03-11 05:46:59.000000000 +0000 @@ -226,8 +226,7 @@ """ # resume a running session self.logger('resuming X2Go session: %s' % self.args.resume, loglevel=x2go.loglevel_INFO, ) - if available_sessions is None: - available_sessions = self._X2GoClient__list_sessions(s_hash) + available_sessions = self._X2GoClient__list_sessions(s_hash) if available_sessions and self.args.resume == 'OLDEST': self._auto_resume_oldest(s_hash) elif available_sessions and self.args.resume == 'NEWEST':