From f965566054bb4b4985f6d649b241fc869abb6530 Mon Sep 17 00:00:00 2001 From: pictuga Date: Mon, 20 Mar 2017 20:19:08 -1000 Subject: [PATCH] feedify; make function use clearer --- morss/feedify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morss/feedify.py b/morss/feedify.py index 467b8d5..afc573a 100644 --- a/morss/feedify.py +++ b/morss/feedify.py @@ -171,7 +171,7 @@ class Builder(object): return a def strings(self, html, expr): - " Turns the results into a nice array of strings (ie. sth useful) " + " Turns the results of raw() into a nice array of strings (ie. sth useful) " if self.rule['mode'] == 'xpath': out = [] @@ -188,7 +188,7 @@ class Builder(object): return out def string(self, html, expr): - " Makes a formatted string out of the getter and rule " + " Makes a formatted string, using our custom template format, out of the getter and rule " getter = lambda x: self.strings(html, x) return format_string(self.rule[expr], getter)