Updating branch refs/heads/master
         to 4e47039b0cf19025693f2efeb416ae63b09f0985 (commit)
       from f615825aa54c8b44ece188701d945b8a2576df73 (commit)

commit 4e47039b0cf19025693f2efeb416ae63b09f0985
Author: PaweÅ‚ Forysiuk <[email protected]>
Date:   Mon Nov 12 20:52:30 2012 +0100

    Check that test base exists before removing tree

 wscript |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index 2a2a035..0bb29f0 100644
--- a/wscript
+++ b/wscript
@@ -548,7 +548,8 @@ def shutdown ():
     elif Options.commands['check']:
         import tempfile, shutil
         base = os.path.join (tempfile.gettempdir (), 'midori-test', '%s')
-        shutil.rmtree (base % '')
+        if os.path.exists (base):
+            shutil.rmtree (base % '')
         for x in ['XDG_CONFIG_HOME', 'XDG_CACHE_HOME', 'XDG_DATA_HOME', 
'TMPDIR']:
             os.environ[x] = (base % x).lower ()
             Utils.check_dir (os.environ[x])
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to