Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -40,6 +40,7 @@ from .person import Person
|
|||
from .torrent import Torrent
|
||||
from .subtitle import Subtitle
|
||||
|
||||
|
||||
class MainWindow(QtMainWindow):
|
||||
def __init__(self, config, weboob, parent=None):
|
||||
QtMainWindow.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ from PyQt4.QtCore import Qt
|
|||
from weboob.applications.qcineoob.ui.minimovie_ui import Ui_MiniMovie
|
||||
from weboob.capabilities.base import empty
|
||||
|
||||
|
||||
class MiniMovie(QFrame):
|
||||
def __init__(self, weboob, backend, movie, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ from PyQt4.QtCore import Qt
|
|||
from weboob.applications.qcineoob.ui.miniperson_ui import Ui_MiniPerson
|
||||
from weboob.capabilities.base import empty
|
||||
|
||||
|
||||
class MiniPerson(QFrame):
|
||||
def __init__(self, weboob, backend, person, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ from PyQt4.QtGui import QFrame
|
|||
from weboob.applications.qcineoob.ui.minisubtitle_ui import Ui_MiniSubtitle
|
||||
from weboob.capabilities.base import empty
|
||||
|
||||
|
||||
class MiniSubtitle(QFrame):
|
||||
def __init__(self, weboob, backend, subtitle, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ from weboob.applications.qcineoob.ui.minitorrent_ui import Ui_MiniTorrent
|
|||
from weboob.applications.weboorrents.weboorrents import sizeof_fmt
|
||||
from weboob.capabilities.base import empty
|
||||
|
||||
|
||||
class MiniTorrent(QFrame):
|
||||
def __init__(self, weboob, backend, torrent, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ from weboob.capabilities.base import empty
|
|||
from weboob.applications.suboob.suboob import LANGUAGE_CONV
|
||||
from weboob.applications.cineoob.cineoob import ROLE_LIST
|
||||
|
||||
|
||||
class Movie(QFrame):
|
||||
def __init__(self, movie, backend, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ from weboob.applications.qcineoob.ui.person_ui import Ui_Person
|
|||
from weboob.capabilities.base import empty
|
||||
from weboob.applications.cineoob.cineoob import ROLE_LIST
|
||||
|
||||
|
||||
class Person(QFrame):
|
||||
def __init__(self, person, backend, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ class QCineoob(QtApplication):
|
|||
CONFIG = {'settings': {'backend': '',
|
||||
}
|
||||
}
|
||||
|
||||
def main(self, argv):
|
||||
self.load_backends([ICapCinema,ICapTorrent,ICapSubtitle])
|
||||
self.load_config()
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ from PyQt4.QtGui import QFrame, QFileDialog
|
|||
from weboob.applications.qcineoob.ui.subtitle_ui import Ui_Subtitle
|
||||
from weboob.capabilities.base import empty
|
||||
|
||||
|
||||
class Subtitle(QFrame):
|
||||
def __init__(self, subtitle, backend, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
@ -77,4 +78,3 @@ class Subtitle(QFrame):
|
|||
print >>sys.stderr, 'Unable to write subtitle file in "%s": %s' % (dest, e)
|
||||
return 1
|
||||
return
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ from weboob.applications.qcineoob.ui.torrent_ui import Ui_Torrent
|
|||
from weboob.applications.weboorrents.weboorrents import sizeof_fmt
|
||||
from weboob.capabilities.base import empty
|
||||
|
||||
|
||||
class Torrent(QFrame):
|
||||
def __init__(self, torrent, backend, parent=None):
|
||||
QFrame.__init__(self, parent)
|
||||
|
|
@ -77,4 +78,3 @@ class Torrent(QFrame):
|
|||
print >>sys.stderr, 'Unable to write .torrent in "%s": %s' % (dest, e)
|
||||
return 1
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue