Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kajongg
Commits
4a8f1061
Commit
4a8f1061
authored
Dec 22, 2017
by
Wolfgang Rohdewald
Browse files
change syntax for metaclass
parent
8ec87d34
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common.py
View file @
4a8f1061
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment