Skip to content

Commit

Permalink
JBoss - PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
hatRiot committed Jun 17, 2014
1 parent a748bff commit efdfc8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/jboss/deployers/ejbinvokerservlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def deploy(fingerengine, fingerprint):
fingerengine.random_int)

if len(response) > 1:
if('org.jboss.web.tomcat.security.SecurityAssociationValve' in response and 'org.apache.catalina.authenticator.AuthenticatorBase.invoke' in response):
if 'org.jboss.web.tomcat.security.SecurityAssociationValve' in response \
and 'org.apache.catalina.authenticator.AuthenticatorBase.invoke' in response:
utility.Msg('Deployment failed due to insufficient or invalid credentials.', LOG.ERROR)
else:
utility.Msg(response, LOG.DEBUG)
Expand Down

0 comments on commit efdfc8a

Please sign in to comment.