diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-07-30 01:16:46 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-07-30 01:16:46 +0200 |
commit | db63f9d3e7ac56653884e94553d481d4206bfaa9 (patch) | |
tree | 1a7c4f023d1bd40c4b213d81214a3b22ec4cd84a /tb3 | |
parent | 01af4fcf8a270725003f80f17cf3c05f64bc7c48 (diff) |
proposal is only a dict here for now
Diffstat (limited to 'tb3')
-rwxr-xr-x | tb3/tb3-local-client | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tb3/tb3-local-client b/tb3/tb3-local-client index 9335053..f2e02c7 100755 --- a/tb3/tb3-local-client +++ b/tb3/tb3-local-client @@ -95,7 +95,7 @@ class LocalClient: self.tb3(repo=repo, sync=True) proposals = [self.get_proposal(source) for source in self.sources] for p in proposals: - if p and (not proposal or p.score > proposal.score): + if p and (not proposal or p['score'] > proposal['score']): proposal = p if not proposal or float(proposal['score']) < self.args['min_score']: time.sleep(self.args['poll_idle_time']) |