Hi,

On Thu, May 30, 2019 at 09:43:38AM -0700, Kevin Fenzi wrote:

> Ideally it should drop fedora-cert use entirely. It looks like currently
> all it uses it for is to figure out your username. Instead it should
> default to your local user name or take a --user or something. :)

IMHO it should default to this:

    if os.path.exists(os.path.expanduser('~/.fedora.upn')):
        with open(os.path.expanduser('~/.fedora.upn'), 'r') as f:
            username = f.read().replace('\n', '')
    else:
        username = getpass.getuser()

Kind regards
Till
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to