#!/usr/bin/python3
import dnf
base = dnf.Base()
base.read_all_repos()
for repo in base.repos.all():
l = [repo.id, repo.name, 'enabled' if repo.enabled else 'disabled']
print('\0'.join(l))