You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xcp/accessor.py: Fix static analyis warnings for self.location
Fix static analysis warnings in `MountingAccessor` by checking
`self.location` to not be `None` before accessing it:
- MountingAccessor's self.location changes between `str` and `None`
depending on the state of the MountingAccessor object (initialized,
started, stopped/finished). The assert lets checkers know it is str
when it is used in these locations.
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
0 commit comments