Use redundances as python package
This commit is contained in:
28
__init__.py
Normal file
28
__init__.py
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# __init__.py
|
||||
#
|
||||
# Copyright 2015 GOLDERWEB – Jonathan Golder <jonathan@golderweb.de>
|
||||
#
|
||||
# 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; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# 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., 51 Franklin Street, Fifth Floor, Boston,
|
||||
# MA 02110-1301, USA.
|
||||
#
|
||||
#
|
||||
"""
|
||||
Scripts for our redundances bot
|
||||
"""
|
||||
|
||||
from redundances import mysqlred, redpage, redfam
|
||||
@@ -32,7 +32,7 @@ from datetime import datetime
|
||||
|
||||
import pywikibot
|
||||
|
||||
from mysqlred import MysqlRedFam
|
||||
from .mysqlred import MysqlRedFam
|
||||
|
||||
|
||||
class RedFam:
|
||||
|
||||
@@ -27,8 +27,8 @@ Provides a class for handling redundance discussion pages and archives
|
||||
|
||||
import pywikibot # noqa
|
||||
|
||||
from mysqlred import MysqlRedPage
|
||||
from redfam import RedFamParser
|
||||
from .mysqlred import MysqlRedPage
|
||||
from .redfam import RedFamParser
|
||||
|
||||
|
||||
class RedPage:
|
||||
|
||||
Reference in New Issue
Block a user