From ddc294bf3ab0f12e956496f23f51609ce343dda6 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 16 Sep 2010 17:46:33 +0200 Subject: core.actions: Fixed yy/pp bug when yanking multiple directories --- README | 2 +- doc/ranger.1 | 2 +- ranger/__init__.py | 2 +- ranger/core/actions.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README b/README index 85b7e857..f0ee7a06 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Ranger v.1.2.0 +Ranger v.1.2.1 ============== Ranger is a free console file manager that gives you greater flexibility diff --git a/doc/ranger.1 b/doc/ranger.1 index d81db6d4..03cc3d56 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.TH RANGER 1 ranger-1.2.0 +.TH RANGER 1 ranger-1.2.1 .SH NAME ranger - visual file manager .\"----------------------------------------- diff --git a/ranger/__init__.py b/ranger/__init__.py index c2a695c9..4f223b7d 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -20,7 +20,7 @@ import sys from ranger.ext.openstruct import OpenStruct __license__ = 'GPL3' -__version__ = '1.2.0' +__version__ = '1.2.1' __credits__ = 'Roman Zimbelmann' __author__ = 'Roman Zimbelmann' __maintainer__ = 'Roman Zimbelmann' diff --git a/ranger/core/actions.py b/ranger/core/actions.py index a93344a4..b88849ef 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -709,7 +709,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): for f in self.env.copy: if isdir(f.path): for _ in shutil_g.copytree(src=f.path, - dst=join(self.env.cwd.path, f.basename), + dst=join(original_path, f.basename), symlinks=True, overwrite=overwrite): yield -- cgit 1.4.1-2-gfad0