Skip to content

Commit ad313a4

Browse files
author
anon
committed
fixup! misc. typing fixes
1 parent 980b000 commit ad313a4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

qubesadmin/storage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class Pool:
330330
""" A Pool is used to manage different kind of volumes (File
331331
based/LVM/Btrfs/...).
332332
"""
333-
def __init__(self, app: QubesBase, name: str | None=None):
333+
def __init__(self, app: QubesBase, name: str):
334334
""" Initialize storage pool wrapper
335335
336336
:param app: Qubes() object
@@ -341,7 +341,6 @@ def __init__(self, app: QubesBase, name: str | None=None):
341341
self._config = None
342342

343343
def __str__(self) -> str:
344-
assert self.name is not None
345344
return self.name
346345

347346
def __eq__(self, other: object) -> bool:

0 commit comments

Comments
 (0)