about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-12-04 01:05:20 +0100
committerhut <hut@lepus.uberspace.de>2014-12-04 01:05:20 +0100
commit42325092019837545a67b0851a3bbc7104f15f57 (patch)
tree6e977afb75b1383fdd3446d15b8a541c0e407352 /ranger
parentb132301bc72351ad0baad92650cfc040112cafee (diff)
downloadranger-42325092019837545a67b0851a3bbc7104f15f57.tar.gz
ext.papermanager: s/pager/paper/
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/papermanager.py8
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)