From 5473d529f69810bbb8f275779a188b47bdbd2002 Mon Sep 17 00:00:00 2001
From: Marcus Müller <marcus@hostalia.de>
Date: Mon, 5 Feb 2018 12:00:02 +0100
Subject: modtool_add: __exit__ now takes 4 arguments, instead of none

Python defines __exit__ to take 4 arguments (self + error info); code
only took 1, whih breaks if there is an exception thrown within the
with: block.

Addresses #1577.
---
 gr-utils/python/modtool/modtool_add.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gr-utils/python/modtool/modtool_add.py')

diff --git a/gr-utils/python/modtool/modtool_add.py b/gr-utils/python/modtool/modtool_add.py
index 21fcd28900..6719a02948 100644
--- a/gr-utils/python/modtool/modtool_add.py
+++ b/gr-utils/python/modtool/modtool_add.py
@@ -1,5 +1,5 @@
 #
-# Copyright 2013 Free Software Foundation, Inc.
+# Copyright 2013, 2017 Free Software Foundation, Inc.
 #
 # This file is part of GNU Radio
 #
-- 
cgit v1.2.3