Skip to content

Instantly share code, notes, and snippets.

View agonzalezrh's full-sized avatar

Alberto Gonzalez Rodriguez agonzalezrh

  • Red Hat
View GitHub Profile
@agonzalezrh
agonzalezrh / fix_catalog.py
Created January 22, 2026 14:27
Remove duplicate channel from catalog.json
#!/usr/bin/env python3
import json
from pathlib import Path
import sys
if len(sys.argv) < 2:
print("Usage: fix_catalog.py <path-to-catalog.json>")
sys.exit(1)
file_path = Path(sys.argv[1])