From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-803948-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 93C06138CD0 for <garchives@archives.gentoo.org>; Sun, 31 May 2015 05:03:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F123FE0914; Sun, 31 May 2015 05:03:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D27DE0914 for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2015 05:03:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB5E6340C3C for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2015 05:03:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9D9CA31 for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2015 05:03:19 +0000 (UTC) From: "Brian Dolbec" <dolsen@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <dolsen@gentoo.org> Message-ID: <1433047591.666b8a6c00251b0034d5e57ee338a44aa6b0a997.dolsen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/gkeys/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys/gkeys/actions.py X-VCS-Directories: gkeys/gkeys/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 666b8a6c00251b0034d5e57ee338a44aa6b0a997 X-VCS-Branch: master Date: Sun, 31 May 2015 05:03:19 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dccce551-1f00-4de8-8ff5-f317bc8e43a2 X-Archives-Hash: f7c8006177a05814ae5b5f6ed03c4fba commit: 666b8a6c00251b0034d5e57ee338a44aa6b0a997 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Sat May 30 23:13:46 2015 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Sun May 31 04:46:31 2015 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=666b8a6c gkeys/actions.py: Fix an UnboundLocalError File "/usr/lib64/python2.7/site-packages/gkeys/actions.py", line 798, in _verify results = self.gpg.verify_file(key, sig_path, filepath) UnboundLocalError: local variable 'sig_path' referenced before assignment Reported by: Johannes Huber <johu <AT> gentoo.org> gkeys/gkeys/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py index d467500..24c323e 100644 --- a/gkeys/gkeys/actions.py +++ b/gkeys/gkeys/actions.py @@ -734,6 +734,7 @@ class Actions(object): "not supplied, using current directory ./%s") % filepath) if args.timestamp: timestamp_path = filepath + ".timestamp" + sig_path = None if isurl: from sslfetch.connections import Connector connector_output = {