projects/aports·blob master · refs

21 lines · 596 B

1https://gitlab.com/arandr/arandr/-/work_items/58
2
3diff --git a/setup.py b/setup.py
4index a571272..eb9c149 100755
5--- a/setup.py
6+++ b/setup.py
7@@ -53,7 +53,13 @@ class NoOptionCommand(Command):
8 """Command that doesn't take any options"""
9 user_options = []
10
11- def initialize_options(self): pass
12+ def initialize_options(self):
13+ try:
14+ super().initialize_options()
15+ except Exception:
16+ pass
17+ if not hasattr(self, "dry_run"):
18+ self.dry_run = False
19 def finalize_options(self): pass
20
21 class update_pot(NoOptionCommand):