From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7C9EA13888F for ; Sat, 10 Oct 2015 11:44:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 884A3E07DA; Sat, 10 Oct 2015 11:44:30 +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 2852AE07DA for ; Sat, 10 Oct 2015 11:44:30 +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 43908340831 for ; Sat, 10 Oct 2015 11:44:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3B55DE7 for ; Sat, 10 Oct 2015 11:44:25 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1444477806.30cbbe17a8f849e3fb41dc9a85756581c6395c6f.blueness@gentoo> Subject: [gentoo-commits] proj/grss:master commit in: grs/ X-VCS-Repository: proj/grss X-VCS-Files: grs/Interpret.py X-VCS-Directories: grs/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 30cbbe17a8f849e3fb41dc9a85756581c6395c6f X-VCS-Branch: master Date: Sat, 10 Oct 2015 11:44:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6b96c003-a6d2-47cc-a8a9-3c0b6b9895ed X-Archives-Hash: a132ca6eb20e40a847e141ccfe82e2cc commit: 30cbbe17a8f849e3fb41dc9a85756581c6395c6f Author: Anthony G. Basile gentoo org> AuthorDate: Sat Oct 10 11:50:06 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Oct 10 11:50:06 2015 +0000 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=30cbbe17 grs/Interpret.py: fix minor errors in semantic_action(). grs/Interpret.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/grs/Interpret.py b/grs/Interpret.py index 2bf880c..a42400d 100644 --- a/grs/Interpret.py +++ b/grs/Interpret.py @@ -94,8 +94,9 @@ class Interpret(Daemon): _lo.log(_line) return try: - f(*args) - except Exception as err: + func(*args) + except Exception as excpt: + err = excpt pass else: err = 'Number of parameters incorrect.'