mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for coding style
This commit is contained in:
parent
43f4a0ddd4
commit
9edf3010de
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Utilities(Configs):
|
|||
for package in packages:
|
||||
if package and not package.startswith('#'):
|
||||
if '#' in package:
|
||||
package = package.split('#')[0].strip()
|
||||
package: str = package.split('#')[0].strip()
|
||||
yield package
|
||||
except FileNotFoundError:
|
||||
self.errors.raise_error_message(f"No such file or directory: '{file}'", exit_status=20)
|
||||
|
|
Loading…
Add table
Reference in a new issue