Blame SOURCES/tuned-2.7.1-fixed-traceback.patch

7f2825
diff --git a/libexec/defirqaffinity.py b/libexec/defirqaffinity.py
7f2825
index 13768de..54d6499 100755
7f2825
--- a/libexec/defirqaffinity.py
7f2825
+++ b/libexec/defirqaffinity.py
7f2825
@@ -59,7 +59,7 @@ def verify(shouldbemask):
7f2825
 		sys.exit(1)
7f2825
 
7f2825
 	# now verify each /proc/irq/$num/smp_affinity
7f2825
-	interruptdirs = [ f for f in os.listdir(irqpath) if os.path.isdir(join(irqpath,f)) ]
7f2825
+	interruptdirs = [ f for f in os.listdir(irqpath) if os.path.isdir(os.path.join(irqpath,f)) ]
7f2825
 	# IRQ 2 - cascaded signals from IRQs 8-15 (any devices configured to use IRQ 2 will actually be using IRQ 9)
7f2825
 	interruptdirs.remove("2")
7f2825
 	# IRQ 0 - system timer (cannot be changed)
7f2825
@@ -73,7 +73,7 @@ def verify(shouldbemask):
7f2825
 			inplacemask = inplacemask | 1 << i;
7f2825
 		if (inplacemask & ~shouldbemask):
7f2825
 			sys.stderr.write("verify: failed: irqaffinity (%s) inplacemask=%x shouldbemask=%x\n" % (fname, inplacemask, shouldbemask))
7f2825
-		sys.exit(1)
7f2825
+			sys.exit(1)
7f2825
 
7f2825
 	sys.exit(0)
7f2825
 
7f2825
@@ -105,7 +105,7 @@ fo.close()
7f2825
 
7f2825
 # now adjust each /proc/irq/$num/smp_affinity
7f2825
 
7f2825
-interruptdirs = [ f for f in os.listdir(irqpath) if os.path.isdir(join(irqpath,f)) ]
7f2825
+interruptdirs = [ f for f in os.listdir(irqpath) if os.path.isdir(os.path.join(irqpath,f)) ]
7f2825
 
7f2825
 # IRQ 2 - cascaded signals from IRQs 8-15 (any devices configured to use IRQ 2 will actually be using IRQ 9)
7f2825
 interruptdirs.remove("2")