[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH 1/3] Don't assume pypkg is a directory in setupPythonUpdates()
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH 1/3] Don't assume pypkg is a directory in setupPythonUpdates()
- Date: Thu, 24 Sep 2009 10:04:42 -0400
> diff --git a/anaconda b/anaconda
> index 4f63977..6f3e27f 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -163,7 +163,7 @@ def setupPythonUpdates():
> os.access("/tmp/updates/%s/%s" %(pypkg, f[:-1]),os.R_OK)):
> # dont copy .pyc files we are replacing with updates
> continue
> - else:
> + elif os.path.isdir("/tmp/updates/%s" % (pypkg,)):
> os.symlink("/usr/%s/python%s/site-packages/%s/%s" %(libdir,
> pyver,
> pypkg,
I don't know that I agree with this. Doesn't the os.listdir on line 157
mean that pypkg has to be a directory? What problem are you seeing?
The other two look fine. I'm going to git-am them into the tree and do
a rebuild, since it's kind of an emergency.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]