mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Removed logging
This commit is contained in:
parent
c5b62a936b
commit
99e8078735
1 changed files with 0 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue