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 /ranger | |
parent | 9400aa042cee4230690155f61bc1f6de11bb9c06 (diff) | |
download | ranger-f16bbc20854a051ddedf6ab43cffd89ddbcef27f.tar.gz |
Removed unnecessary spaces
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |