|
From: <di...@us...> - 2010-11-21 19:28:25
|
Revision: 706
http://safekeep.svn.sourceforge.net/safekeep/?rev=706&view=rev
Author: dimi
Date: 2010-11-21 19:28:19 +0000 (Sun, 21 Nov 2010)
Log Message:
-----------
Clean up, fix typo
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2010-11-21 19:11:22 UTC (rev 705)
+++ safekeep/trunk/safekeep 2010-11-21 19:28:19 UTC (rev 706)
@@ -131,7 +131,7 @@
else:
if _shell:
- args = ["/bin/sh", "-c"].extends(args)
+ args = ["/bin/sh", "-c"].extend(args)
if _stderr:
(child_in, child_out) = os.popen4(args)
else:
@@ -873,11 +873,12 @@
if nice:
args.extend(['nice', '-n' + str(nice)])
- if ionice and ionice != 'none' and try_to_run('ionice'):
- if ionice == 'idle':
- args.extend(['ionice', '-c3', '-t'])
+ ionice_cmd = 'ionice'
+ if ionice and ionice != 'none' and try_to_run(ionice_cmd):
+ if ionice is 'idle':
+ args.extend([ionice_cmd, '-c3', '-t'])
else:
- args.extend(['ionice', '-c2', '-n' + ionice, '-t'])
+ args.extend([ionice_cmd, '-c2', '-n' + ionice, '-t'])
args.extend(['rdiff-backup'])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|