feeds: fix function def
parent
8a4f86210c
commit
9c557ea02c
|
@ -214,7 +214,7 @@ class ParserBase(object):
|
||||||
# for use in @property, ie. self.get_str('title')
|
# for use in @property, ie. self.get_str('title')
|
||||||
return self.rule_str(self.rules[rule_name])
|
return self.rule_str(self.rules[rule_name])
|
||||||
|
|
||||||
def set_str(self, rule_name):
|
def set_str(self, rule_name, value):
|
||||||
try:
|
try:
|
||||||
return self.rule_set(self.rules[rule_name], value)
|
return self.rule_set(self.rules[rule_name], value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue