https://bugzilla.redhat.com/show_bug.cgi?id=1325414



--- Comment #4 from Zbigniew JÄ™drzejewski-Szmek <[email protected]> ---
def run(cmd):
    click.echo('  $ ' + cmd)
    return os.system(cmd)

def clone(name):
    url = repo_url(name, ssh=True, git=True)
    run('git clone %s %s' % (url, name.split('/')[-1]))

That's ... ugly. Since this is python3 only, why not use subprocess.run?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to