mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +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 re
|
||||||
import time
|
import time
|
||||||
import shutil
|
import shutil
|
||||||
import logging
|
|
||||||
import fnmatch
|
import fnmatch
|
||||||
import subprocess
|
import subprocess
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
@ -14,7 +13,6 @@ from slpkg.configs import Configs
|
||||||
from slpkg.blacklist import Blacklist
|
from slpkg.blacklist import Blacklist
|
||||||
from slpkg.error_messages import Errors
|
from slpkg.error_messages import Errors
|
||||||
from slpkg.repositories import Repositories
|
from slpkg.repositories import Repositories
|
||||||
from slpkg.logging_config import LoggingConfig
|
|
||||||
|
|
||||||
|
|
||||||
class Utilities(Configs):
|
class Utilities(Configs):
|
||||||
|
@ -26,11 +24,6 @@ class Utilities(Configs):
|
||||||
|
|
||||||
self.installed_packages: dict = dict(self.all_installed())
|
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:
|
def is_package_installed(self, name: str) -> str:
|
||||||
""" Returns the installed package binary. """
|
""" Returns the installed package binary. """
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue