Rename BaseApplication to Application
This commit is contained in:
parent
5a1d83b567
commit
a64c9f2edb
9 changed files with 22 additions and 22 deletions
|
|
@ -1,15 +1,15 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from weboob.tools.application.base import BaseApplication
|
||||
from weboob.tools.application.base import Application
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
|
||||
class Weboobmc(BaseApplication):
|
||||
class Weboobmc(Application):
|
||||
def __init__(self, count=10):
|
||||
BaseApplication.__init__(self)
|
||||
Application.__init__(self)
|
||||
self.count = int(count)
|
||||
self._is_default_count = False
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ from webob import exc
|
|||
from wsgiref.simple_server import make_server
|
||||
|
||||
from weboob.capabilities.video import CapVideo
|
||||
from weboob.tools.application.base import BaseApplication
|
||||
from weboob.tools.application.base import Application
|
||||
|
||||
|
||||
__all__ = ['VideoobWeb']
|
||||
|
|
@ -39,7 +39,7 @@ template_lookup = TemplateLookup(directories=[os.path.join(os.path.dirname(__fil
|
|||
output_encoding='utf-8', encoding_errors='replace')
|
||||
|
||||
|
||||
class VideoobWeb(BaseApplication):
|
||||
class VideoobWeb(Application):
|
||||
APPNAME = 'videoob-webserver'
|
||||
VERSION = '0.j'
|
||||
COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue