diff --git a/recipes/pravo.recipe b/recipes/pravo.recipe index 07bd562852..e5715b2aeb 100644 --- a/recipes/pravo.recipe +++ b/recipes/pravo.recipe @@ -38,8 +38,8 @@ class pravo(BasicNewsRecipe): articles.append(self.parse_page(feed)) return articles - def parse_page(self, xxx_todo_changeme): - (feed_title, url) = xxx_todo_changeme + def parse_page(self, title_and_url): + (feed_title, url) = title_and_url articles = [] soup = self.index_to_soup(url) diff --git a/src/calibre/ebooks/covers.py b/src/calibre/ebooks/covers.py index 8eb9013a2f..6e6911cf01 100644 --- a/src/calibre/ebooks/covers.py +++ b/src/calibre/ebooks/covers.py @@ -174,8 +174,8 @@ class Block(object): def fget(self): return self._position - def fset(self, xxx_todo_changeme): - (x, y) = xxx_todo_changeme + def fset(self, new_pos): + (x, y) = new_pos self._position = Point(x, y) if self.layouts: self.layouts[0].setPosition(QPointF(x, y))