Blame SOURCES/0008-Xspice-cleanup-non-regular-files-too.patch

28add0
From a778d9da649b16098ab3721f135bd7508bc32167 Mon Sep 17 00:00:00 2001
28add0
From: Alon Levy <alevy@redhat.com>
28add0
Date: Mon, 21 Oct 2013 18:25:47 +0300
28add0
Subject: [PATCH 08/10] Xspice: cleanup non regular files too
28add0
28add0
---
28add0
 scripts/Xspice | 2 +-
28add0
 1 file changed, 1 insertion(+), 1 deletion(-)
28add0
28add0
diff --git a/scripts/Xspice b/scripts/Xspice
28add0
index 34a5fcc..be87c08 100755
28add0
--- a/scripts/Xspice
28add0
+++ b/scripts/Xspice
28add0
@@ -159,7 +159,7 @@ cleanup_processes = []
28add0
 
28add0
 def cleanup(*args):
28add0
     for f in cleanup_files:
28add0
-        if os.path.isfile(f):
28add0
+        if os.path.exists(f):
28add0
             os.remove(f)
28add0
     for p in cleanup_processes:
28add0
         p.kill()
28add0
-- 
28add0
1.8.3.1
28add0