mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-22 22:03:54 +03:00
Some minor case fixes on dynamic
This commit is contained in:
parent
e70dcd4f23
commit
8f98314c97
@ -154,9 +154,9 @@ class DynamicPublication(services.Publication, autoserializable.AutoSerializable
|
|||||||
|
|
||||||
if op != Operation.WAIT:
|
if op != Operation.WAIT:
|
||||||
# All operations except WAIT will check against checks counter
|
# All operations except WAIT will check against checks counter
|
||||||
state = self._inc_checks_counter(self._op2str(op))
|
counter_state = self._inc_checks_counter(self._op2str(op))
|
||||||
if state is not None:
|
if counter_state is not None:
|
||||||
return state # Error, Finished or None
|
return counter_state # Error, Finished or None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if op.is_custom():
|
if op.is_custom():
|
||||||
|
@ -358,9 +358,9 @@ class DynamicUserService(services.UserService, autoserializable.AutoSerializable
|
|||||||
|
|
||||||
if op != Operation.WAIT:
|
if op != Operation.WAIT:
|
||||||
# All operations except WAIT will check against checks counter
|
# All operations except WAIT will check against checks counter
|
||||||
state = self._inc_checks_counter(self._op2str(op))
|
counter_state = self._inc_checks_counter(self._op2str(op))
|
||||||
if state is not None:
|
if counter_state is not None:
|
||||||
return state # Error, Finished or None
|
return counter_state # Error, Finished or None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if op.is_custom():
|
if op.is_custom():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user