refactor: remove commented out code

It is recommended to remove any commented code in your codebase.
This commit is contained in:
deepsource-autofix[bot] 2023-08-08 20:41:03 +00:00 committed by GitHub
parent 255994447a
commit d8b4bbe2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View File

@ -1,4 +1,3 @@
# This is a scriprt to undo the changes made by adblock-zerotrust.py
import asyncio
@ -17,7 +16,6 @@ async def delete_adblock_list(lists: dict, account_id: str, token: str):
"Authorization": f"Bearer {token}",
"Content-Type": "application/json",
}
# response = requests.delete(url, headers=headers, timeout=10)
response = await client.delete(url, headers=headers, timeout=10)
if response.status_code != 200:
print(f"Error deleting list: {response.text}")

View File

@ -78,7 +78,6 @@ def convert_to_list(file: pathlib.Path) -> list:
for match in matches
if match and match.group(1) not in loopback
]
# print(f"First 5 hosts: {hosts[:5]}")
return hosts