Skip to content
GitLab
Menu
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
5cc10f44
Commit
5cc10f44
authored
Apr 07, 2021
by
Wolfgang Rohdewald
Browse files
pylint: else/elif after raise/break
parent
74ecd45c
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/client.py
View file @
5cc10f44
...
...
@@ -300,7 +300,7 @@ class Client(pb.Referenceable):
# latest move first
if
move
.
message
==
Message
.
Discard
:
break
el
if
move
.
message
==
Message
.
NoClaim
and
move
.
notifying
:
if
move
.
message
==
Message
.
NoClaim
and
move
.
notifying
:
noClaimCount
+=
1
if
noClaimCount
==
2
:
if
Debug
.
delayChow
:
...
...
src/common.py
View file @
5cc10f44
...
...
@@ -257,8 +257,7 @@ class FixedClass(type):
if
cls
.
fixed
:
raise
SystemExit
(
'{cls}.{key} may not be changed'
.
format
(
cls
=
cls
.
__name__
,
key
=
key
))
else
:
type
.
__setattr__
(
cls
,
key
,
value
)
type
.
__setattr__
(
cls
,
key
,
value
)
class
StrMixin
:
...
...
src/util.py
View file @
5cc10f44
...
...
@@ -155,8 +155,7 @@ class Duration:
diff
.
microseconds
)
if
self
.
bug
:
raise
UserWarning
(
msg
)
else
:
print
(
msg
)
print
(
msg
)
def
checkMemory
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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