[master][PATCH] Don't try to collect removed modules
David Shea
dshea at redhat.com
Thu Oct 3 15:28:14 UTC 2013
On 10/03/2013 05:41 AM, Vratislav Podzimek wrote:
> diff --git a/scripts/makeupdates b/scripts/makeupdates
> index f185a88..8bee657 100755
> --- a/scripts/makeupdates
> +++ b/scripts/makeupdates
> @@ -224,7 +224,8 @@ def copyUpdatedFiles(tag, updates, cwd):
> # deleted python module, write out a stub raising ImportError
> file_path = os.path.join(tmpupdates, gitfile)
> with open(file_path, "w") as fobj:
> - fobj.write('raise ImportError("This module no longer exists!")')
> + fobj.write('from pyanaconda.errors import RemovedModuleError\n')
> + fobj.write('raise RemovedModuleError("This module no longer exists!")\n')
>
> continue
>
> --
ImportError is still mentioned in the comment. Otherwise, ack.
More information about the anaconda-patches
mailing list