From 25e2e7287b20e8dd8e5cf9c0fe07eb754b81c10c Mon Sep 17 00:00:00 2001
From: Josh Morman <jmorman@gnuradio.org>
Date: Wed, 24 Nov 2021 12:03:48 -0500
Subject: blocks: pep8 formatting

Signed-off-by: Josh Morman <jmorman@gnuradio.org>
---
 gr-blocks/python/blocks/msg_meta_to_pair.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'gr-blocks/python/blocks/msg_meta_to_pair.py')

diff --git a/gr-blocks/python/blocks/msg_meta_to_pair.py b/gr-blocks/python/blocks/msg_meta_to_pair.py
index 1c6dde2f61..6178c64b6a 100644
--- a/gr-blocks/python/blocks/msg_meta_to_pair.py
+++ b/gr-blocks/python/blocks/msg_meta_to_pair.py
@@ -11,6 +11,7 @@
 from gnuradio import gr
 import pmt
 
+
 class meta_to_pair(gr.sync_block):
     """
     This block converts a metadata dictionary item to a pmt pair that is
@@ -18,8 +19,10 @@ class meta_to_pair(gr.sync_block):
     which item in the incoming metadata to output as a pair and what
     the pair name is.
     """
+
     def __init__(self, incomingKeyName, outgoingPairName):
-        gr.sync_block.__init__(self, name="meta_to_pair", in_sig=None, out_sig=None)
+        gr.sync_block.__init__(self, name="meta_to_pair",
+                               in_sig=None, out_sig=None)
 
         self.incomingKeyName = str(incomingKeyName)
         self.outgoingPairName = str(outgoingPairName)
@@ -51,7 +54,8 @@ class meta_to_pair(gr.sync_block):
         new_pair = None
 
         try:
-            new_pair = pmt.cons(pmt.intern(self.outgoingPairName), pmt.to_pmt(incomingVal))
+            new_pair = pmt.cons(pmt.intern(
+                self.outgoingPairName), pmt.to_pmt(incomingVal))
         except Exception as e:
             gr.log.error("Cannot construct new message: %s" % str(e))
             return
-- 
cgit v1.2.3