Commit 5cc10f44 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

pylint: else/elif after raise/break

parent 74ecd45c
......@@ -300,7 +300,7 @@ class Client(pb.Referenceable):
# latest move first
if move.message == Message.Discard:
break
elif move.message == Message.NoClaim and move.notifying:
if move.message == Message.NoClaim and move.notifying:
noClaimCount += 1
if noClaimCount == 2:
if Debug.delayChow:
......
......@@ -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:
......
......@@ -155,8 +155,7 @@ class Duration:
diff.microseconds)
if self.bug:
raise UserWarning(msg)
else:
print(msg)
print(msg)
def checkMemory():
......
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