Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e8e98ca15a | |||
| 4d1302696e |
@@ -501,12 +501,12 @@ class MILC(object):
|
|||||||
|
|
||||||
if argument not in self.arg_only:
|
if argument not in self.arg_only:
|
||||||
# Find the argument's section
|
# Find the argument's section
|
||||||
argument_found = True
|
if argument in self.default_arguments[self._entrypoint.__name__]:
|
||||||
for group in self.default_arguments:
|
argument_found = True
|
||||||
if argument in self.default_arguments[group]:
|
section = self._entrypoint.__name__
|
||||||
argument_found = True
|
if argument in self.default_arguments['general']:
|
||||||
section = group
|
argument_found = True
|
||||||
break
|
section = 'general'
|
||||||
|
|
||||||
if not argument_found:
|
if not argument_found:
|
||||||
raise RuntimeError('Could not find argument in `self.default_arguments`. This should be impossible!')
|
raise RuntimeError('Could not find argument in `self.default_arguments`. This should be impossible!')
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
"""A program to help you work with qmk_firmware."""
|
"""A program to help you work with qmk_firmware."""
|
||||||
|
|
||||||
__version__ = '0.0.22'
|
__version__ = '0.0.23'
|
||||||
|
|||||||
Reference in New Issue
Block a user