diff options
author | hut <hut@lavabit.com> | 2012-03-05 11:11:30 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-03-05 11:12:27 +0100 |
commit | f16bbc20854a051ddedf6ab43cffd89ddbcef27f (patch) | |
tree | d8a4f8d634b8b23755b395ee93bc691de55104f4 | |
parent | 9400aa042cee4230690155f61bc1f6de11bb9c06 (diff) | |
download | ranger-f16bbc20854a051ddedf6ab43cffd89ddbcef27f.tar.gz |
Removed unnecessary spaces
-rw-r--r-- | doc/ranger.1 | 4 | ||||
-rw-r--r-- | doc/ranger.pod | 2 | ||||
-rw-r--r-- | 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<apps.py> 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) |