summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-12 22:03:39 +0200
committerhut <hut@lavabit.com>2010-10-12 22:03:39 +0200
commit754bf128e146e21e3377541e47dd5ee3f55ac5a5 (patch)
treec7d6fa50bdcc5433626a06d9cd37aa025b3164d9 /ranger
parentff725e2b7fd85ab4c37a1fa401823d99e5ac7f70 (diff)
downloadranger-754bf128e146e21e3377541e47dd5ee3f55ac5a5.tar.gz
core.actions: fixed bugs with copying
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 6fd9ad09..47560bbe 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -764,8 +764,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 				descr = "moving: " + one_file.path
 			else:
 				descr = "moving files from: " + one_file.dirname
-			obj = CommandLoader(args=['mv'] + mv_flags +
-					+ [f.path for f in copied_files]
+			obj = CommandLoader(args=['mv'] + mv_flags \
+					+ [f.path for f in copied_files] \
 					+ [cwd.path], descr=descr)
 		else:
 			if len(copied_files) == 1:
@@ -776,11 +776,11 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 					and one_file.dirname == cwd.path:
 				# Special case: yypp
 				# copying a file onto itself -> create a backup
-				obj = CommandLoader(args=['cp', '-f'] + cp_flags
+				obj = CommandLoader(args=['cp', '-f'] + cp_flags \
 						+ [one_file.path, one_file.path], descr=descr)
 			else:
-				obj = CommandLoader(args=['cp'] + cp_flags
-						+ [f.path for f in copied_files]
+				obj = CommandLoader(args=['cp'] + cp_flags \
+						+ [f.path for f in copied_files] \
 						+ [cwd.path], descr=descr)
 
 		obj.signal_bind('after', refresh)