[Rpm-metadata] replacing os.chdir calls with basedir config option
Dennis Gregorovic
dgregor at redhat.com
Fri Nov 11 13:44:35 UTC 2005
I've started using createrepo as a library instead of a standalone app.
The only issue that I've run into so far is that the os.chdir() calls
can cause problems, especially if you have multiple threads using
createrepo in parallel.
Attached is a patch that removes the os.chdir() calls and introduces a
'basedir' config option, settable with --basedir and defaulting to
os.getcwd().
Thoughts?
-- Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: createrepo-basedir.patch
Type: text/x-patch
Size: 10914 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20051111/3d1f308b/attachment.bin
More information about the Rpm-metadata
mailing list