jenkins-bot has submitted this change and it was merged.
Change subject: Update License from core
......................................................................
Update License from core
Change-Id: Ia1e03ac53f90f3f3f62b35602a2c78b85dae9734
---
M LICENSE
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/LICENSE b/LICENSE
index a3fd6e8..724e5a4 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2004-2013 Pywikipedia bot team
+Copyright (c) 2004-2015 Pywikibot team
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@@ -35,10 +35,10 @@
about the suitability of this array for any purpose. It is provided
"as is" without express or implied warranty.
-Everything in the 'externals' directory is general released under seperate
-licenses. Some parts may come from Pywikipedia bot team and share the same
+Everything in the 'externals' directory is general released under separate
+licenses. Some parts may come from Pywikibot team and share the same
permissions, but in general they have to be checked for any external package
-seperately.
+separately.
For example the 'BeautifulSoup.py' module is Copyright (c) 2004-2007 Leonard
Richardson, and licensed under the terms of the Python Software Foundation
license, available at http://www.python.org/download/releases/2.5/license/.
--
To view, visit https://gerrit.wikimedia.org/r/186594
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia1e03ac53f90f3f3f62b35602a2c78b85dae9734
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>
John Vandenberg has submitted this change and it was merged.
Change subject: Bump copyright notice in LICENSE to 2015
......................................................................
Bump copyright notice in LICENSE to 2015
Not doing this for every file, since the devs agreed to only bump
the year when substantial changes are made.
Change-Id: Icd0e3e335b953a28de7e7697dd7172dcb12bb70b
---
M LICENSE
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/LICENSE b/LICENSE
index cc87fc4..71d9a57 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2004-2014 Pywikibot team
+Copyright (c) 2004-2015 Pywikibot team
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
--
To view, visit https://gerrit.wikimedia.org/r/186352
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icd0e3e335b953a28de7e7697dd7172dcb12bb70b
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: &fixes-help needs to appear after -fixes
......................................................................
&fixes-help needs to appear after -fixes
Change-Id: Id157d6f41e28b2aa1eef3543f2dff8c0953e746a
---
M scripts/replace.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/replace.py b/scripts/replace.py
index ee1a67c..95fe144 100755
--- a/scripts/replace.py
+++ b/scripts/replace.py
@@ -65,12 +65,12 @@
given in the dictionary 'fixes' defined inside the files
fixes.py and user-fixes.py.
+&fixes-help;
+
-manualinput Request manual replacements via the command line input even
if replacements are already defined. If this option is set
(or no replacements are defined via -fix or the arguments)
it'll ask for additional replacements at start.
-
-&fixes-help;
-always Don't prompt you for each replacement
--
To view, visit https://gerrit.wikimedia.org/r/186333
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id157d6f41e28b2aa1eef3543f2dff8c0953e746a
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: [IMPROV] ModuleDeprecationWrapper is module
......................................................................
[IMPROV] ModuleDeprecationWrapper is module
It is a replacement for modules so it should be subclass of module. Also
sorted the imports alphabetically.
Change-Id: If8b2c79f36525bc1c4437bed27c455d8e9f170aa
---
M pywikibot/tools.py
1 file changed, 5 insertions(+), 4 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/tools.py b/pywikibot/tools.py
index 0eb772e..3d45090 100644
--- a/pywikibot/tools.py
+++ b/pywikibot/tools.py
@@ -8,12 +8,13 @@
from __future__ import print_function
__version__ = '$Id$'
+import collections
+import inspect
+import re
import sys
import threading
import time
-import inspect
-import re
-import collections
+import types
from distutils.version import Version
if sys.version_info[0] > 2:
@@ -878,7 +879,7 @@
return call
-class ModuleDeprecationWrapper(object):
+class ModuleDeprecationWrapper(types.ModuleType):
"""A wrapper for a module to deprecate classes or variables of it."""
--
To view, visit https://gerrit.wikimedia.org/r/186175
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If8b2c79f36525bc1c4437bed27c455d8e9f170aa
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>