aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lib/python
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:19 -0500
committerJacek Antonelli2008-08-15 23:45:19 -0500
commitb235c59d60472f818a9142c0886b95a0ff4191d7 (patch)
treed323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/lib/python
parentSecond Life viewer sources 1.18.5.3 (diff)
downloadmeta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip
meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz
meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2
meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to 'linden/indra/lib/python')
-rw-r--r--linden/indra/lib/python/indra/util/llmanifest.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/lib/python/indra/util/llmanifest.py b/linden/indra/lib/python/indra/util/llmanifest.py
index 029b697..2408fab 100644
--- a/linden/indra/lib/python/indra/util/llmanifest.py
+++ b/linden/indra/lib/python/indra/util/llmanifest.py
@@ -38,6 +38,7 @@ import re
38import shutil 38import shutil
39import sys 39import sys
40import tarfile 40import tarfile
41import errno
41 42
42def path_ancestors(path): 43def path_ancestors(path):
43 path = os.path.normpath(path) 44 path = os.path.normpath(path)
@@ -463,6 +464,12 @@ class LLManifest(object):
463 return 464 return
464 # only copy if it's not excluded 465 # only copy if it's not excluded
465 if(self.includes(src, dst)): 466 if(self.includes(src, dst)):
467 try:
468 os.unlink(dst)
469 except OSError, err:
470 if err.errno != errno.ENOENT:
471 raise
472
466 shutil.copy2(src, dst) 473 shutil.copy2(src, dst)
467 474
468 def ccopytree(self, src, dst): 475 def ccopytree(self, src, dst):