SatelliteQE/katello-rapidnode — pull request #12 by Ichimonji10 (2014-12-12 16:35:22+00:00)
Title: Refactor function child_copy_repo

Make function more compact. It now contains only six statements, compared to
nine previously. Make function `main` only call `child_copy_repo` if `REPO_FILE`
exists. Example output where `REPO_FILE` exists ("…" stands in for the host
name):

>>> from katello_rapidnode import child_copy_repo
>>> child_copy_repo('…')
Copying myrepofile.repo to …...
>>>