Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Make some whitespace changes for the Black linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed May 19, 2023
1 parent e11a3f6 commit ee00e9f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/pe_reports/helpers/bulletin/bulletin_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def generate_cybersix_bulletin(
resp = get_post(id)

for post in resp["intel_items"]:

outputText = template.render(
post,
user_provided_content=user_text,
Expand Down
9 changes: 0 additions & 9 deletions src/pe_reports/stakeholder/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def setStakeholder(customer):
conn = psycopg2.connect(**params)

if conn:

LOGGER.info(
"There was a connection made to "
"the database and the query was executed "
Expand Down Expand Up @@ -171,7 +170,6 @@ def setCustRootDomain(customer, rootdomain, orgUUID):
conn = psycopg2.connect(**params)

if conn:

LOGGER.info(
"There was a connection made to "
"the database and the query was executed "
Expand Down Expand Up @@ -204,15 +202,13 @@ def setCustSubDomain(subdomain, rootUUID, rootname):
global conn, cursor

try:

LOGGER.info("Starting insert into database...")

params = config()

conn = psycopg2.connect(**params)

if conn:

LOGGER.info(
"There was a connection made to "
"the database and the query to "
Expand Down Expand Up @@ -260,7 +256,6 @@ def setCustomerExternalCSG(
conn = psycopg2.connect(**params)

if conn:

LOGGER.info(
"There was a connection made to"
" the database and the query was executed "
Expand Down Expand Up @@ -322,9 +317,7 @@ def getSubdomain(domain):

subisolated = ""
for sub in subdomains:

if sub != f"www.{domain}":

LOGGER.info(sub)
subisolated = sub.rsplit(".")[:-2]
LOGGER.info(
Expand Down Expand Up @@ -460,7 +453,6 @@ def setOrganizationUsers(org_id):
or userrole == role2
and user_id != id_role1
):

url = (
f"https://api.cybersixgill.com/multi-tenant/organization/"
f"{org_id}/user/{user_id}?role_id={userrole}"
Expand Down Expand Up @@ -546,7 +538,6 @@ def stakeholder():
allValidIP = getallsubdomainIPS(custRootDomainValue)

try:

if cust not in allDomain.values():
flash(f"You successfully submitted a new customer {cust} ", "success")

Expand Down
1 change: 0 additions & 1 deletion src/pe_source/dnstwistscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def run_dnstwist(orgs_list):

# Only run on orgs in the org list
if pe_org_id in orgs_list or orgs_list == "all":

LOGGER.info("Running dnstwist on %s", pe_org_id)

"""Collect dnstwist data from Crossfeed"""
Expand Down

0 comments on commit ee00e9f

Please sign in to comment.