mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fixed for option
This commit is contained in:
parent
5686b10daf
commit
4d4167ccd3
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class CheckUpdates(Configs):
|
||||||
self.is_binary: bool = self.utils.is_binary_repo(repository)
|
self.is_binary: bool = self.utils.is_binary_repo(repository)
|
||||||
|
|
||||||
self.option_for_repository: bool = self.utils.is_option(
|
self.option_for_repository: bool = self.utils.is_option(
|
||||||
['-o', '--repository'], flags)
|
['-o', '--repository='], flags)
|
||||||
|
|
||||||
logging.basicConfig(filename=LoggingConfig.log_file,
|
logging.basicConfig(filename=LoggingConfig.log_file,
|
||||||
filemode=LoggingConfig.filemode,
|
filemode=LoggingConfig.filemode,
|
||||||
|
|
|
@ -39,7 +39,7 @@ class UpdateRepository(Configs):
|
||||||
self.is_binary: bool = self.utils.is_binary_repo(repository)
|
self.is_binary: bool = self.utils.is_binary_repo(repository)
|
||||||
|
|
||||||
self.option_for_repository: bool = self.utils.is_option(
|
self.option_for_repository: bool = self.utils.is_option(
|
||||||
['-o', '--repository'], flags)
|
['-o', '--repository='], flags)
|
||||||
|
|
||||||
self.option_for_install_data: bool = self.utils.is_option(
|
self.option_for_install_data: bool = self.utils.is_option(
|
||||||
['-a', '--install-data'], flags)
|
['-a', '--install-data'], flags)
|
||||||
|
|
Loading…
Add table
Reference in a new issue