Skip to content

Commit

Permalink
Checkin.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Oct 3, 2023
1 parent a4f08b3 commit 2f6986f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/community_scripts/cleanup_namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ def do_cleanup():
# check each ns for content ...
ns_keys = sorted(list(ns_map.keys()))
for ns_key in ns_keys:
print(ns_key)

if len(ns_map[ns_key]) <= 1:
continue

print(ns_key)
# is there a user for this namespace ...?
found_user = User.objects.filter(username=ns_key).first()

Expand Down

0 comments on commit 2f6986f

Please sign in to comment.