Removed logging

This commit is contained in:
Dimitris Zlatanidis 2023-04-26 18:15:55 +03:00
parent c5b62a936b
commit 99e8078735

View file

@ -4,7 +4,6 @@
import re
import time
import shutil
import logging
import fnmatch
import subprocess
from pathlib import Path
@ -14,7 +13,6 @@ from slpkg.configs import Configs
from slpkg.blacklist import Blacklist
from slpkg.error_messages import Errors
from slpkg.repositories import Repositories
from slpkg.logging_config import LoggingConfig
class Utilities(Configs):
@ -26,11 +24,6 @@ class Utilities(Configs):
self.installed_packages: dict = dict(self.all_installed())
logging.basicConfig(filename=LoggingConfig.log_file,
filemode='w',
encoding='utf-8',
level=logging.INFO)
def is_package_installed(self, name: str) -> str:
""" Returns the installed package binary. """
try: