[unpackfs] Fix error in error-handling (warn -> warning)

main
Adriaan de Groot 6 years ago
parent d87badbf45
commit 5c4f2423f8

@ -154,7 +154,7 @@ def file_copy(source, dest, progress_cb):
# https://bugzilla.redhat.com/show_bug.cgi?id=868755#c50 # https://bugzilla.redhat.com/show_bug.cgi?id=868755#c50
# for the same issue in Anaconda, which uses a similar workaround. # for the same issue in Anaconda, which uses a similar workaround.
if process.returncode != 0 and process.returncode != 23: if process.returncode != 0 and process.returncode != 23:
utils.warn("rsync failed with error code {}.".format(process.returncode)) utils.warning("rsync failed with error code {}.".format(process.returncode))
return _("rsync failed with error code {}.").format(process.returncode) return _("rsync failed with error code {}.").format(process.returncode)
return None return None

Loading…
Cancel
Save