Fix permissions, encoding and copyrights
This commit is contained in:
parent
2012ac3690
commit
f73f671cbe
19 changed files with 29 additions and 34 deletions
0
modules/amazon/browser.py
Executable file → Normal file
0
modules/amazon/browser.py
Executable file → Normal file
7
modules/amazon/fr/pages.py
Executable file → Normal file
7
modules/amazon/fr/pages.py
Executable file → Normal file
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2014 Oleg Plakhotniuk
|
||||
# Copyright(C) 2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
@ -102,9 +102,6 @@ class OrderNewPage(OrderPage):
|
|||
ENCODING='ISO-8859-15'
|
||||
is_here = u'//*[contains(text(),"Commandé le")]'
|
||||
|
||||
# def text(self):
|
||||
# return self.response.text.decode('iso-8859-1').encode('utf-8')
|
||||
|
||||
def order(self):
|
||||
if not self.shouldSkip():
|
||||
order = Order(id=self.order_number())
|
||||
|
|
|
|||
2
modules/amazon/module.py
Executable file → Normal file
2
modules/amazon/module.py
Executable file → Normal file
|
|
@ -1,4 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2014 Oleg Plakhotniuk
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
2
modules/ameli/browser.py
Executable file → Normal file
2
modules/ameli/browser.py
Executable file → Normal file
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2010-2011 Romain Bignon
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2009-2013 Romain Bignon
|
||||
# Copyright(C) 2009-2012 Romain Bignon
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2013 Christophe Lampin
|
||||
# Copyright(C) 2010-2012 Romain Bignon
|
||||
#
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
|
||||
# This file is part of weboob.
|
||||
#
|
||||
# weboob is free software: you can redistribute it and/or modify
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2010-2011 Romain Bignon
|
||||
# Copyright(C) 2010-2012 Romain Bignon
|
||||
# Copyright(C) 2013-2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
|
||||
|
||||
# Copyright(C) 2012 Fourcot Florent
|
||||
# Copyright(C) 2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2012-2013 Florent Fourcot
|
||||
# Copyright(C) 2015 Christophe Lampin
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
@ -22,11 +22,9 @@ from __future__ import print_function
|
|||
from decimal import Decimal
|
||||
|
||||
from weboob.capabilities.base import empty
|
||||
from weboob.capabilities.shop import CapShop, Order, Payment, Item
|
||||
from weboob.capabilities.shop import CapShop, Order, Item
|
||||
from weboob.tools.application.repl import ReplApplication, defaultcount
|
||||
from weboob.tools.application.formatters.iformatter import PrettyFormatter, IFormatter
|
||||
from weboob.tools.application.base import MoreResultsAvailable
|
||||
from weboob.core import CallErrors
|
||||
from weboob.tools.application.formatters.iformatter import IFormatter
|
||||
|
||||
__all__ = ['Shopoob']
|
||||
|
||||
|
|
@ -145,9 +143,7 @@ class Shopoob(ReplApplication):
|
|||
|
||||
for id, backend in l:
|
||||
names = (backend,) if backend is not None else None
|
||||
# XXX: should be generated by backend? -Flo
|
||||
# XXX: no, but you should do it in a specific formatter -romain
|
||||
# TODO: do it, and use exec_method here. Code is obsolete
|
||||
# TODO: Use specific formatter
|
||||
mysum = Item()
|
||||
mysum.label = u"Sum"
|
||||
mysum.url = u"Generated by shopoob"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue