From becda904d1c4a8995488713420265c7c85a64cb9 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Sat, 11 Apr 2020 00:48:58 +0200
Subject: vpn: l2tp: T2264: remove debug pprint

---
 src/conf_mode/vpn_l2tp.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/conf_mode/vpn_l2tp.py b/src/conf_mode/vpn_l2tp.py
index bb51b4573..fa336f6de 100755
--- a/src/conf_mode/vpn_l2tp.py
+++ b/src/conf_mode/vpn_l2tp.py
@@ -302,13 +302,11 @@ def get_config():
     if conf.exists(['ppp-options', 'lcp-echo-interval']):
         l2tp['ppp_echo_interval'] = conf.return_value(['ppp-options', 'lcp-echo-interval'])
 
-    import pprint
-    pprint.pprint(l2tp)
     return l2tp
 
 
 def verify(l2tp):
-    if l2tp == None:
+    if not l2tp:
         return None
 
     if l2tp['auth_mode'] == 'local':
-- 
cgit v1.2.3