jenkins-bot has submitted this change and it was merged.
Change subject: Remove lonely reNamespace from page.py ......................................................................
Remove lonely reNamespace from page.py
Only occurrence of this variable in the library.
$ git grep reNamespace pywikibot/page.py:68:reNamespace = re.compile("^(.+?) *: *(.*)$")
Change-Id: Ifee61a713b9b1fadc54607167b4f8655781e4749 --- M pywikibot/page.py 1 file changed, 0 insertions(+), 3 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved Ricordisamoa: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 587e991..3f9c93a 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -64,9 +64,6 @@
logger = logging.getLogger("pywiki.wiki.page")
-# Pre-compile re expressions -reNamespace = re.compile("^(.+?) *: *(.*)$") -
# Note: Link objects (defined later on) represent a wiki-page's title, while # Page objects (defined here) represent the page itself, including its contents.