From 42325092019837545a67b0851a3bbc7104f15f57 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 4 Dec 2014 01:05:20 +0100 Subject: ext.papermanager: s/pager/paper/ --- ranger/ext/papermanager.py | 8 ++++---- 1 file 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) -- cgit 1.4.1-2-gfad0