Skip to content

Commit 704eb05

Browse files
committed
PEP8 & CI
1 parent c808ff5 commit 704eb05

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/cifuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CIFuzz
22

33
on:
4-
pull_request:
4+
push:
55
branches: [master]
66

77
permissions:

scapy/layers/kerberos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ def make_checksum(self, text, h="sha256"):
13971397

13981398
def verify_checksum(self, text):
13991399
"""
1400-
Verifiy paChecksum and paChecksum2
1400+
Verify paChecksum and paChecksum2
14011401
"""
14021402
if self.paChecksum.val != Hash_SHA().digest(text):
14031403
raise ValueError("Bad paChecksum checksum !")
@@ -1438,7 +1438,7 @@ class KRB_AuthPack(ASN1_Packet):
14381438
ASN1F_optional(
14391439
ASN1F_SEQUENCE_OF(
14401440
"supportedCMSTypes",
1441-
[],
1441+
None,
14421442
X509_AlgorithmIdentifier,
14431443
explicit_tag=0xA2,
14441444
),

scapy/layers/msrpce/msnrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def establish_secure_channel(
867867
not in netr_server_authkerb_response
868868
or netr_server_authkerb_response.status != 0
869869
):
870-
# An error occured
870+
# An error occurred
871871
netr_server_authkerb_response.show()
872872
raise ValueError("NetrServerAuthenticateKerberos failed !")
873873

scapy/layers/msrpce/rpcclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def _get_bind_context(self, interface):
407407
"""
408408
if interface in self.contexts:
409409
# We have already found acceptable contexts for this interface,
410-
# re-use that.
410+
# reuse that.
411411
return self.contexts[interface]
412412

413413
# NDR 2.0

scapy/layers/tls/cert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ def tree(self):
13821382
certList = list(self)
13831383

13841384
# We make a list of certificates we have to search children for, and iterate
1385-
# through it until it's emtpy.
1385+
# through it until it's empty.
13861386
todo = list(tree)
13871387

13881388
# Iterate

0 commit comments

Comments
 (0)