Skip to content

Commit

Permalink
fix:jans-cli revert > no threed needed (ref: Close #2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelwahabAdam committed Nov 5, 2022
1 parent af7397e commit 59f1508
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions jans-cli-tui/plugins/010_oxauth/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,6 @@ def oauth_get_clients(self) -> None:
t.start()

def delete_client(self, **kwargs: Any) -> None:
"""Method to get the clients data from server
"""
t = threading.Thread(target=self.oauth_delete_client(kwargs), daemon=True)
self.app.start_progressing()
t.start()

def oauth_delete_client(self, kwargs: Any):
"""This method for the deletion of the clients data
Args:
Expand Down Expand Up @@ -625,10 +618,6 @@ def search_properties(self, tbuffer:Buffer,) -> None:
self.app.start_progressing()
t.start()

# ---------------------------------------------------------------------- #
# ---------------------------------------------------------------------- #
# ---------------------------------------------------------------------- #

def oauth_update_keys(self) -> None:

"""update the current Keys fromserver
Expand Down Expand Up @@ -742,15 +731,6 @@ def save_client(self, dialog: Dialog) -> None:
self.app.show_message(_("Error!"), _("An error ocurred while saving client:\n") + str(response.text))


# def oauth_save_client(self, dialog: Dialog) -> None:
# """Method to get the clients data from server
# """
# t = threading.Thread(target=self.oauth_delete_client, daemon=True)
# self.app.start_progressing()
# t.start()



def save_scope(self, dialog: Dialog) -> None:
"""This method to save the client data to server
Expand Down

0 comments on commit 59f1508

Please sign in to comment.