Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
JSCU-CNI committed Sep 5, 2024
1 parent 9ba06ce commit ded1f97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dissect/target/plugins/os/unix/locale.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def timezone(self) -> str | None:
size = p_localtime.stat().st_size
sha1 = p_localtime.get().sha1()
for path in self.target.fs.path("/usr/share/zoneinfo").rglob("*"):

# Ignore posix files in zoneinfo directory (RHEL).
if path.name.startswith("posix"):
continue

Check warning on line 66 in dissect/target/plugins/os/unix/locale.py

View check run for this annotation

Codecov / codecov/patch

dissect/target/plugins/os/unix/locale.py#L66

Added line #L66 was not covered by tests
Expand Down

0 comments on commit ded1f97

Please sign in to comment.