about summary refs log tree commit diff
path: root/examples/python/gi/nm-wg-set
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-06-28 18:59:08 +0200
committerMichael Biebl <biebl@debian.org>2020-06-28 18:59:08 +0200
commit215112eefc83274273a10d9ddb5e107c9beec548 (patch)
treea16052cef4bb8707d6a906dd784a50c75945d03e /examples/python/gi/nm-wg-set
parent5ed4e66e01b005212aee22c255c9c6b2a4b040a9 (diff)
parenta54ac63bbf9b2c71026ac9028a8ffaf186cf3c82 (diff)
Update upstream source from tag 'upstream/1.25.90'
Update to upstream version '1.25.90'
with Debian dir 16d4caa71e8ba8c27ee163c88f11456b6cdc0490
Diffstat (limited to 'examples/python/gi/nm-wg-set')
-rwxr-xr-xexamples/python/gi/nm-wg-set3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/python/gi/nm-wg-set b/examples/python/gi/nm-wg-set
index ca31ac72..1f5279ee 100755
--- a/examples/python/gi/nm-wg-set
+++ b/examples/python/gi/nm-wg-set
@@ -58,7 +58,6 @@
 #       nm-wg-set id "$PROFILE" $WG_ARGS
 
 import sys
-import re
 import os
 
 import gi
@@ -443,7 +442,7 @@ if __name__ == '__main__':
         secrets = conn.get_secrets(NM.SETTING_WIREGUARD_SETTING_NAME)
         if secrets:
             conn.update_secrets(NM.SETTING_WIREGUARD_SETTING_NAME, secrets)
-    except:
+    except Exception:
         pass
 
     if not argv: