Skip to content

Commit

Permalink
Removed None assignment in catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
delinea-sagar authored Aug 7, 2023
1 parent 3360c87 commit e6bfbd9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions awx/main/credential_plugins/tss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
try:
from delinea.secrets.server import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret
except ImportError:
try:
from thycotic.secrets.server import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret
except ImportError:
SecretServer = None
ServerSecret = None
PasswordGrantAuthorizer = None
DomainPasswordGrantAuthorizer = None
from thycotic.secrets.server import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret

tss_inputs = {
'fields': [
Expand Down

0 comments on commit e6bfbd9

Please sign in to comment.