| 1 | https://gitlab.com/arandr/arandr/-/work_items/58
|
| 2 |
|
| 3 | diff --git a/setup.py b/setup.py
|
| 4 | index a571272..eb9c149 100755
|
| 5 | |
| 6 | |
| 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):
|