From f16bbc20854a051ddedf6ab43cffd89ddbcef27f Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 5 Mar 2012 11:11:30 +0100 Subject: Removed unnecessary spaces --- doc/ranger.1 | 4 ++-- doc/ranger.pod | 2 +- ranger/defaults/commands.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index fe2d2d1e..823b31c7 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.5.2" "02/21/2012" "ranger manual" +.TH RANGER 1 "ranger-1.5.2" "03/05/2012" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -296,7 +296,7 @@ used in the commands :open_with (key \*(L"r\*(R") and :shell (key \*(L"!\*(R"). \& p Redirect output to the pager \& w Wait for an Enter\-press when the process is done \& c Run the current file only, instead of the selection -\& r Run application with root privilege (requires sudo) +\& r Run application with root privilege (requires sudo) \& t Run application in a new terminal window .Ve .PP diff --git a/doc/ranger.pod b/doc/ranger.pod index f438cae7..e8c45826 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -200,7 +200,7 @@ used in the commands :open_with (key "r") and :shell (key "!"). p Redirect output to the pager w Wait for an Enter-press when the process is done c Run the current file only, instead of the selection - r Run application with root privilege (requires sudo) + r Run application with root privilege (requires sudo) t Run application in a new terminal window By default, all the flags are off unless specified otherwise in the F diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index d1f4cf16..a89dd0f7 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -836,10 +836,10 @@ class relink(Command): if not cf.is_link: return self.fm.notify('%s is not a symlink!' % cf.basename, bad=True) - + if new_path == os.readlink(cf.path): return - + try: os.remove(cf.path) os.symlink(new_path, cf.path) -- cgit 1.4.1-2-gfad0