|
|
136e2c |
From c20bf465f4689634d66fb157b5f52ecc15720e4c Mon Sep 17 00:00:00 2001
|
|
|
136e2c |
From: Eric Garver <eric@garver.life>
|
|
|
136e2c |
Date: Thu, 31 Jan 2019 09:19:44 -0500
|
|
|
136e2c |
Subject: [PATCH 54/73] treewide: fix over indentation (flake8 E117)
|
|
|
136e2c |
|
|
|
136e2c |
(cherry picked from commit 161cdae8c1391bed05c70018ff24fe2e29ddc9b8)
|
|
|
136e2c |
(cherry picked from commit 3bf261aa9a312f65040810338f0efdb9ff9bc5af)
|
|
|
136e2c |
---
|
|
|
136e2c |
src/firewall-config.in | 4 ++--
|
|
|
136e2c |
src/firewall/functions.py | 2 +-
|
|
|
136e2c |
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
136e2c |
|
|
|
136e2c |
diff --git a/src/firewall-config.in b/src/firewall-config.in
|
|
|
136e2c |
index c19541b0ce82..0bb7b05abdad 100755
|
|
|
136e2c |
--- a/src/firewall-config.in
|
|
|
136e2c |
+++ b/src/firewall-config.in
|
|
|
136e2c |
@@ -1628,8 +1628,8 @@ class FirewallConfig(object):
|
|
|
136e2c |
|
|
|
136e2c |
def connection_changed(self):
|
|
|
136e2c |
if self.connection_timer:
|
|
|
136e2c |
- GLib.source_remove(self.connection_timer)
|
|
|
136e2c |
- self.connection_timer = None
|
|
|
136e2c |
+ GLib.source_remove(self.connection_timer)
|
|
|
136e2c |
+ self.connection_timer = None
|
|
|
136e2c |
if self.fw.connected:
|
|
|
136e2c |
self.fw.authorizeAll()
|
|
|
136e2c |
self.statusLabel.set_text(self.connected_label)
|
|
|
136e2c |
diff --git a/src/firewall/functions.py b/src/firewall/functions.py
|
|
|
136e2c |
index eb67ec4b73bb..5f54a59204b8 100644
|
|
|
136e2c |
--- a/src/firewall/functions.py
|
|
|
136e2c |
+++ b/src/firewall/functions.py
|
|
|
136e2c |
@@ -148,7 +148,7 @@ def portInPortRange(port, range):
|
|
|
136e2c |
return _port == getPortID(_range[0])
|
|
|
136e2c |
if len(_range) == 2 and \
|
|
|
136e2c |
_port >= getPortID(_range[0]) and _port <= getPortID(_range[1]):
|
|
|
136e2c |
- return True
|
|
|
136e2c |
+ return True
|
|
|
136e2c |
|
|
|
136e2c |
return False
|
|
|
136e2c |
|
|
|
136e2c |
--
|
|
|
136e2c |
2.20.1
|
|
|
136e2c |
|