diff options
author | hut <hut@lepus.uberspace.de> | 2014-12-04 01:05:20 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2014-12-04 01:05:20 +0100 |
commit | 42325092019837545a67b0851a3bbc7104f15f57 (patch) | |
tree | 6e977afb75b1383fdd3446d15b8a541c0e407352 /ranger | |
parent | b132301bc72351ad0baad92650cfc040112cafee (diff) | |
download | ranger-42325092019837545a67b0851a3bbc7104f15f57.tar.gz |
ext.papermanager: s/pager/paper/
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/papermanager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/ext/papermanager.py b/ranger/ext/papermanager.py index 366dd6fa..a6292c49 100644 --- a/ranger/ext/papermanager.py +++ b/ranger/ext/papermanager.py @@ -59,7 +59,7 @@ class PaperManager(object): if not self.deep_search: metafile = next(self._get_metafile_names(filename)) - return self._set_pager_info_raw(filename, update_dict, metafile) + return self._set_paper_info_raw(filename, update_dict, metafile) for i, metafile in enumerate(self._get_metafile_names(filename)): if i == 0: @@ -76,7 +76,7 @@ class PaperManager(object): for row in reader: name, year, title, authors, url = row if name in valid: - return self._set_pager_info_raw(filename, update_dict, + return self._set_paper_info_raw(filename, update_dict, metafile) self.metadata_cache[filename] = result finally: @@ -86,9 +86,9 @@ class PaperManager(object): # No .paperinfo file found, so let's create a new one in the same path # as the given file. if first_metafile: - return self._set_pager_info_raw(filename, update_dict, first_metafile) + return self._set_paper_info_raw(filename, update_dict, first_metafile) - def _set_pager_info_raw(self, filename, update_dict, metafile): + def _set_paper_info_raw(self, filename, update_dict, metafile): valid = (filename, basename(filename)) paperinfo = OpenStruct(filename=filename, title=None, year=None, authors=None, url=None) |