[master][PATCH] Don't try to collect removed modules
Vratislav Podzimek
vpodzime at redhat.com
Thu Oct 3 15:53:24 UTC 2013
On Thu, 2013-10-03 at 11:28 -0400, David Shea wrote:
> 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.
Good catch, thanks! Fixing locally.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list