Skip to content

Commit 22ffa68

Browse files
committed
linting to trigger CI
1 parent c127ba1 commit 22ffa68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rex/network_feeder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def worker(self, thread_id):
6060
sock.recv(1024)
6161

6262
sock.close()
63-
except Exception:
63+
except Exception: #pylint:disable=broad-except
6464
_l.error("Failed to feed network data to target %s:%d.", self._host, self._port, exc_info=True)
6565
finally:
6666
# Pop the thread object

rex/vulnerability.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
l = logging.getLogger("rex.Vulnerability")
44

5-
class Vulnerability(object):
5+
class Vulnerability:
66

77
IP_OVERWRITE = "ip_overwrite"
88
PARTIAL_IP_OVERWRITE = "partial_ip_overwrite"

0 commit comments

Comments
 (0)