Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Commits
8cb9ebb9
Commit
8cb9ebb9
authored
4 years ago
by
Dariusz Kędzierski
Committed by
Jason Salyers
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Revert exists method to its original form. List check is not needed there
parent
ba7bba3f
No related branches found
No related tags found
2 merge requests
!456
Release candidate v1 24
,
!370
Jsalyers muting at sql level
This commit is part of merge request
!370
. Comments created here will be created in the context of that merge request.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hive/indexer/accounts.py
+0
-2
0 additions, 2 deletions
hive/indexer/accounts.py
with
0 additions
and
2 deletions
hive/indexer/accounts.py
+
0
−
2
Edit
View file @
8cb9ebb9
...
...
@@ -83,8 +83,6 @@ class Accounts(DbAdapterHolder):
"""
Check if an account name exists.
"""
if
isinstance
(
names
,
str
):
return
names
in
cls
.
_ids
if
isinstance
(
names
,
list
):
return
all
(
name
in
cls
.
_ids
for
name
in
names
)
return
False
@classmethod
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment