mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Rename xxx_todo_changeme tuples
This commit is contained in:
parent
c011243859
commit
8285481221
@ -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)
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user