Rename backend.py to module.py

This commit is contained in:
Florent 2014-09-23 10:09:03 +02:00
commit f3aeddffbc
339 changed files with 175 additions and 175 deletions

View file

@ -94,7 +94,7 @@ class BaseRecipe(Recipe):
def generate(self):
self.write('__init__.py', self.template('init'))
self.write('backend.py', self.template('base_module'))
self.write('module.py', self.template('base_module'))
self.write('browser.py', self.template('base_browser'))
self.write('pages.py', self.template('base_pages'))
self.write('test.py', self.template('base_test'))
@ -193,7 +193,7 @@ class CapRecipe(Recipe):
self.methods_code = self.methods_code(cap)
self.write('__init__.py', self.template('init'))
self.write('backend.py', self.template('cap_backend'))
self.write('module.py', self.template('cap_backend'))
self.write('browser.py', self.template('base_browser'))
self.write('pages.py', self.template('base_pages'))
self.write('test.py', self.template('base_test'))
@ -204,7 +204,7 @@ class ComicRecipe(Recipe):
def generate(self):
self.write('__init__.py', self.template('init'))
self.write('backend.py', self.template('comic_backend'))
self.write('module.py', self.template('comic_backend'))
class ComicTestRecipe(Recipe):

View file

@ -1,5 +1,5 @@
<%inherit file="layout.py"/>
from .backend import ${r.classname}Module
from .module import ${r.classname}Module
__all__ = ['${r.classname}Module']