Rename filenames in boilerplate
This commit is contained in:
parent
0b08f614a1
commit
0b58c9a26b
3 changed files with 2 additions and 2 deletions
21
tools/boilerplate_data/cap_module.py
Normal file
21
tools/boilerplate_data/cap_module.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<%inherit file="layout.py"/>
|
||||
from weboob.tools.backend import Module
|
||||
from ${r.capmodulename} import ${r.capname}
|
||||
|
||||
from .browser import ${r.classname}Browser
|
||||
|
||||
|
||||
__all__ = ['${r.classname}Module']
|
||||
|
||||
|
||||
class ${r.classname}Module(Module, ${r.capname}):
|
||||
NAME = '${r.name}'
|
||||
DESCRIPTION = u'${r.name} website'
|
||||
MAINTAINER = u'${r.author}'
|
||||
EMAIL = '${r.email}'
|
||||
LICENSE = 'AGPLv3+'
|
||||
VERSION = '${r.version}'
|
||||
|
||||
BROWSER = ${r.classname}Browser
|
||||
|
||||
${r.methods_code}
|
||||
Loading…
Add table
Add a link
Reference in a new issue