Hello PywikibotCommitWatcher,
I'd like you to do a code review. Please visit
https://gerrit.wikimedia.org/r/76450
to review the following change.
Change subject: improvement; fix $Id$ tags (since git forces to do so)
......................................................................
improvement; fix $Id$ tags (since git forces to do so)
Change-Id: Icbda520bcf214b2300635da4546b2356c1fd32fc
---
M pywikibot/bot.py
M scripts/blockpageschecker.py
M scripts/harvest_template.py
M scripts/redirect.py
M scripts/tests/test_data_ingestion.py
M scripts/tests/test_utils.py
M tests/textlib_tests.py
7 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/50/76450/1
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 29695e5..4424cb9 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -624,7 +624,7 @@
if config.verbose_output:
import re
ver = pywikibot.__version__ # probably can be improved on
- m = re.search(r"\$Id: .* (\d+ \d+-\d+-\d+ \d+:\d+:\d+Z) .*\$", ver)
+ m = re.search(r"\$Id$", ver)
pywikibot.output(u'Pywikipediabot r%s' % m.group(1))
pywikibot.output(u'Python %s' % sys.version)
diff --git a/scripts/blockpageschecker.py b/scripts/blockpageschecker.py
index 63a891a..8d8f23e 100755
--- a/scripts/blockpageschecker.py
+++ b/scripts/blockpageschecker.py
@@ -61,7 +61,7 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '$Id: blockpageschecker.py,v 1.5 2008/04/24 19.40.00 filnik Exp$'
+__version__ = '$Id$'
#
import re, webbrowser
diff --git a/scripts/harvest_template.py b/scripts/harvest_template.py
index 3a187f0..c78b97a 100755
--- a/scripts/harvest_template.py
+++ b/scripts/harvest_template.py
@@ -19,7 +19,7 @@
#
# Distributed under the terms of MIT License.
#
-__version__ = '$Id: harvest_template.py 11692 2013-06-24 16:55:46Z xqt $'
+__version__ = '$Id$'
#
import re
diff --git a/scripts/redirect.py b/scripts/redirect.py
index 5082447..bf42437 100755
--- a/scripts/redirect.py
+++ b/scripts/redirect.py
@@ -56,7 +56,7 @@
#
# Distributed under the terms of the MIT license.
#
-__version__='$Id: redirect.py 7789 2009-12-17 19:20:12Z xqt $'
+__version__='$Id$'
#
import re
import datetime
diff --git a/scripts/tests/test_data_ingestion.py b/scripts/tests/test_data_ingestion.py
index 346eed6..568a6aa 100644
--- a/scripts/tests/test_data_ingestion.py
+++ b/scripts/tests/test_data_ingestion.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""Unit tests for data_ingestion.py"""
-__version__ = '$Id: test_userlib.py 9043 2011-03-13 10:25:08Z xqt $'
+__version__ = '$Id$'
import os
import unittest
diff --git a/scripts/tests/test_utils.py b/scripts/tests/test_utils.py
index 4899bfb..7895f03 100644
--- a/scripts/tests/test_utils.py
+++ b/scripts/tests/test_utils.py
@@ -1,7 +1,7 @@
"""
Support module for PyWikipediaBot regression tests.
"""
-__version__ = '$Id: test_utils.py 9197 2011-04-25 08:57:30Z xqt $'
+__version__ = '$Id$'
import sys
diff --git a/tests/textlib_tests.py b/tests/textlib_tests.py
index 7296581..5a4d3f5 100644
--- a/tests/textlib_tests.py
+++ b/tests/textlib_tests.py
@@ -4,7 +4,7 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '$Id: api_tests.py 8238 2010-06-02 13:50:48Z xqt $'
+__version__ = '$Id$'
try:
import mwparserfromhell
--
To view, visit
https://gerrit.wikimedia.org/r/76450
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbda520bcf214b2300635da4546b2356c1fd32fc
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: DrTrigon <dr.trigon(a)surfeu.ch>
Gerrit-Reviewer: PywikibotCommitWatcher <pywikibot-commits(a)lists.wikimedia.org>
Gerrit-Reviewer: jenkins-bot