Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nulano committed Nov 25, 2020
1 parent b6a9695 commit 1d2ee89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ def finalize_options(self):
self.feature.required.add("freetype")
for x in ("raqm", "fribidi"):
if getattr(self, f"system_{x}"):
if getattr(self, f"disable_raqm"):
if getattr(self, "disable_raqm"):
raise ValueError(
f"Conflicting options: --system-{x} and --disable-raqm"
)
if x == "fribidi" and getattr(self, f"system_raqm"):
if x == "fribidi" and getattr(self, "system_raqm"):
raise ValueError(
f"Conflicting options: --system-{x} and --system-raqm"
)
Expand Down

0 comments on commit 1d2ee89

Please sign in to comment.