|
From: <di...@us...> - 2010-11-29 04:26:14
|
Revision: 731
http://safekeep.svn.sourceforge.net/safekeep/?rev=731&view=rev
Author: dimi
Date: 2010-11-29 04:26:08 +0000 (Mon, 29 Nov 2010)
Log Message:
-----------
Avoid errors when ionice is an integer
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2010-11-29 04:19:55 UTC (rev 730)
+++ safekeep/trunk/safekeep 2010-11-29 04:26:08 UTC (rev 731)
@@ -914,7 +914,7 @@
if ionice is 'idle':
args.extend([ionice_cmd, '-c3', '-t'])
else:
- args.extend([ionice_cmd, '-c2', '-n' + ionice, '-t'])
+ args.extend([ionice_cmd, '-c2', '-n%s' % (ionice), '-t'])
else:
warn('ionice(1) not available, ignoring ionice.adjustment')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|