Commit 4a8f1061 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

change syntax for metaclass

parent 8ec87d34
......@@ -260,11 +260,10 @@ class StrMixin:
return '{cls}({content})'.format(cls=clsName, content=content)
class Options:
class Options(metaclass=FixedClass):
"""they are never saved in a config file. Some of them
can be defined on the command line."""
__metaclass__ = FixedClass
demo = False
showRulesets = False
rulesetName = None # will only be set by command line --ruleset
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment