Skip to content

Commit 97f68d6

Browse files
author
Frederick Ross
committed
All unit tests running again after Itay's review resolution.
1 parent f67cc49 commit 97f68d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

splunklib/binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def login(self):
700700
# Then issue requests...
701701
"""
702702
if self.token is not NoAuthenticationToken and \
703-
(self.username and self.password):
703+
(not self.username and not self.password):
704704
# If we were passed a session token, but no username or
705705
# password, then login is a nop, since we're automatically
706706
# logged in.

splunklib/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ def _proper_namespace(self, owner=None, app=None, sharing=None):
747747
This method handles the case of two entities with the same name in different namespaces
748748
showing up due to wildcards in the service's namespace. We replace the wildcards with the
749749
namespace of the entity we want.
750-
"""
750+
751751
:param owner:
752752
:param app:
753753
:param sharing:

0 commit comments

Comments
 (0)