[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 1/3] Don't assume pypkg is a directory in setupPythonUpdates()
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 1/3] Don't assume pypkg is a directory in setupPythonUpdates()
- Date: Wed, 23 Sep 2009 14:58:01 -1000
---
anaconda | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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,
--
1.6.2.5
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]