Skip to content

Commit

Permalink
Fixed self reference loop
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Oct 30, 2023
1 parent da127a1 commit ca51458
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions brewtils/rest/system_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ def __init__(self, *args, **kwargs):
self._loaded = False
self._system = None
self._commands = {}
self._current_system_namespace = -1

# Need this for back-compatibility (see #836)
if len(args) > 2:
Expand Down Expand Up @@ -257,8 +258,6 @@ def __init__(self, *args, **kwargs):
elif len(self._system_namespaces) == 1:
self._system_namespace = self._system_namespaces[0]
self._current_system_namespace = -1
else:
self._current_system_namespace = -1

self._always_update = kwargs.get("always_update", False)
self._timeout = kwargs.get("timeout", None)
Expand Down

0 comments on commit ca51458

Please sign in to comment.