move genericArticle to tools

This commit is contained in:
Juke 2011-02-21 23:31:38 +01:00
commit 5a7ae0a5bd
10 changed files with 24 additions and 206 deletions

View file

@ -16,14 +16,7 @@
# 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.tools.parsers.lxmlparser import select, SelectElementException
from .genericArticle import GenericNewsPage
def try_remove(base_element, selector):
try :
base_element.remove(select(base_element, selector, 1 ))
except (SelectElementException, ValueError):
pass
from weboob.tools.genericArticle import GenericNewsPage
class FlashActuPage(GenericNewsPage):
"ArticlePage object for inrocks"