diff options
author | hut <hut@lepus.uberspace.de> | 2014-02-15 13:05:17 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2014-02-15 13:05:17 +0100 |
commit | a4f1c363597fe63e94f6f9a48a05fe63e9903b82 (patch) | |
tree | 14047bbfa50d9bec0776dc8f27e030b042cbab9c /ranger | |
parent | 4b66be640681ee6f09ed19713ce0cc2b08ccd72c (diff) | |
parent | 4ff4880173b4db55e6830c57025c55cc4f1472eb (diff) | |
download | ranger-a4f1c363597fe63e94f6f9a48a05fe63e9903b82.tar.gz |
Merge branch 'master' of https://github.com/pkkm/ranger
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 67223258..eb9169a6 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -287,7 +287,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): def source(self, filename): filename = os.path.expanduser(filename) for line in open(filename, 'r'): - line = line.rstrip("\r\n") + line = line.lstrip().rstrip("\r\n") if line.startswith("#") or not line.strip(): continue try: |