diff options
author | toonn <toonn@toonn.io> | 2019-12-29 12:48:10 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-12-29 12:49:12 +0100 |
commit | 81d61afdeb25702ff836723da4e9dc5315a217d1 (patch) | |
tree | 54a8a8d3f6a0dd44feef1995abea3f155d50e287 | |
parent | 99870addf7e23cd8bb34463c43dfc7ccd38b9545 (diff) | |
download | ranger-81d61afdeb25702ff836723da4e9dc5315a217d1.tar.gz |
Remove comment and doubled up space
-rw-r--r-- | ranger/config/rc.conf | 1 | ||||
-rw-r--r-- | ranger/ext/hash.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index e62f4ecd..ac6402e9 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -599,7 +599,6 @@ map .l filter_stack add type l map .m console filter_stack add mime%space map .n console filter_stack add name%space map .# console filter_stack add hash%space -# alternatively .: and .;? map ." filter_stack add duplicate map .' filter_stack add unique map .| filter_stack add or diff --git a/ranger/ext/hash.py b/ranger/ext/hash.py index 1ed21a71..d9b2234b 100644 --- a/ranger/ext/hash.py +++ b/ranger/ext/hash.py @@ -17,7 +17,7 @@ def hash_chunks(filepath, h=None): h.update(filepath) yield h.hexdigest() for fp in listdir(filepath): - for fp_chunk in hash_chunks(fp, h=h): + for fp_chunk in hash_chunks(fp, h=h): yield fp_chunk elif getsize(filepath) == 0: yield h.hexdigest() |