remove dummy from installable scripts
This commit is contained in:
parent
6080d23eeb
commit
2f452599b1
3 changed files with 49 additions and 5 deletions
21
weboob/frontends/dummy/__init__.py
Normal file
21
weboob/frontends/dummy/__init__.py
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
"""
|
||||||
|
Copyright(C) 2010 Christophe Benz
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, version 3 of the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
from .application import Dummy
|
||||||
7
scripts/dummy → weboob/frontends/dummy/application.py
Executable file → Normal file
7
scripts/dummy → weboob/frontends/dummy/application.py
Executable file → Normal file
|
|
@ -3,7 +3,7 @@
|
||||||
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
|
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Copyright(C) 2010 Romain Bignon
|
Copyright(C) 2010 Romain Bignon, Christophe Benz
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -25,7 +25,7 @@ from weboob.capabilities.messages import ICapMessages, ICapMessagesReply
|
||||||
from weboob.capabilities.travel import ICapTravel
|
from weboob.capabilities.travel import ICapTravel
|
||||||
from weboob.tools.application import BaseApplication
|
from weboob.tools.application import BaseApplication
|
||||||
|
|
||||||
class Application(BaseApplication):
|
class Dummy(BaseApplication):
|
||||||
APPNAME = 'dummy'
|
APPNAME = 'dummy'
|
||||||
|
|
||||||
def main(self, argv):
|
def main(self, argv):
|
||||||
|
|
@ -54,6 +54,3 @@ class Application(BaseApplication):
|
||||||
for account in backend.iter_accounts():
|
for account in backend.iter_accounts():
|
||||||
print '| |- [%s] label=%s balance=%s coming=%s' % (
|
print '| |- [%s] label=%s balance=%s coming=%s' % (
|
||||||
account.id, account.label, account.balance, account.coming)
|
account.id, account.label, account.balance, account.coming)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
Application.run()
|
|
||||||
26
weboob/frontends/dummy/dummy
Executable file
26
weboob/frontends/dummy/dummy
Executable file
|
|
@ -0,0 +1,26 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
|
||||||
|
|
||||||
|
"""
|
||||||
|
Copyright(C) 2010 Christophe Benz
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, version 3 of the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
from weboob.frontends.dummy import Dummy
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
Dummy.run()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue