r80946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80945‎ | r80946 | r80947 >
Date:00:10, 25 January 2011
Author:diederik
Status:deferred
Tags:
Comment:
Fixed broken imports.
Modified paths:
  • /trunk/tools/editor_trends/analyses/community_graph.py (modified) (history)
  • /trunk/tools/editor_trends/analyses/file_size_reduction.py (modified) (history)
  • /trunk/tools/editor_trends/analyses/match_talkpage_article.py (modified) (history)
  • /trunk/tools/editor_trends/code-snippets/chunker.py (modified) (history)
  • /trunk/tools/editor_trends/code-snippets/cohort_charts.py (modified) (history)
  • /trunk/tools/editor_trends/code-snippets/cohort_confidence_intervals.py (modified) (history)
  • /trunk/tools/editor_trends/code-snippets/count_editors.py (modified) (history)
  • /trunk/tools/editor_trends/code-snippets/exporter.py (modified) (history)
  • /trunk/tools/editor_trends/code-snippets/match_talkpage_article_old.py (modified) (history)
  • /trunk/tools/editor_trends/database/cache.py (modified) (history)
  • /trunk/tools/editor_trends/database/launcher.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/analyses/community_graph.py
@@ -24,7 +24,7 @@
2525 settings = configuration.Settings()
2626
2727 from database import db
28 -from utils import utils
 28+from utils import file_utils
2929
3030 try:
3131 import psyco
Index: trunk/tools/editor_trends/analyses/file_size_reduction.py
@@ -24,7 +24,7 @@
2525 import xml.etree.cElementTree as cElementTree
2626
2727 import configuration
28 -from utils import utils
 28+from utils import file_utils
2929 settings = configuration.Settings()
3030
3131
Index: trunk/tools/editor_trends/analyses/match_talkpage_article.py
@@ -25,7 +25,7 @@
2626 settings = configuration.Settings()
2727
2828 from etl import extracter
29 -from utils import utils
 29+from utils import file_utils
3030 import wikitree
3131
3232 try:
Index: trunk/tools/editor_trends/database/launcher.py
@@ -24,7 +24,7 @@
2525 import configuration
2626 settings = configuration.Settings()
2727 from classes import exceptions
28 -from utils import utils
 28+from utils import file_utils
2929
3030
3131 def start_mongodb_server(x, path):
Index: trunk/tools/editor_trends/database/cache.py
@@ -27,7 +27,7 @@
2828 settings = configuration.Settings()
2929
3030 import db
31 -from utils import utils
 31+from utils import file_utils
3232 from etl import shaper
3333
3434 class EditorCache(object):
Index: trunk/tools/editor_trends/code-snippets/exporter.py
@@ -29,7 +29,7 @@
3030 sys.path.append('..')
3131 import configuration
3232 settings = configuration.Settings()
33 -from utils import utils
 33+from utils import file_utils
3434 from utils import messages
3535 from database import db
3636 from etl import shaper
Index: trunk/tools/editor_trends/code-snippets/chunker.py
@@ -29,7 +29,7 @@
3030 sys.path.append('..')
3131 import configuration
3232 settings = configuration.Settings()
33 -from utils import utils
 33+from utils import file_utils
3434
3535
3636 try:
Index: trunk/tools/editor_trends/code-snippets/count_editors.py
@@ -10,7 +10,7 @@
1111 import configuration
1212 settings = configuration.Settings()
1313
14 -from utils import utils
 14+from utils import file_utils
1515
1616 def main():
1717 input = os.path.join(settings.input_location, 'en', 'wiki', 'sorted')
Index: trunk/tools/editor_trends/code-snippets/cohort_charts.py
@@ -23,7 +23,7 @@
2424
2525 import configuration
2626 settings = configuration.Settings()
27 -from utils import utils
 27+from utils import file_utils
2828
2929 def prepare_cohort_dataset(dbname, filename):
3030 dataset = file_utils.load_object(settings.binary_location, '%s_%s' % (dbname, filename))
Index: trunk/tools/editor_trends/code-snippets/cohort_confidence_intervals.py
@@ -22,7 +22,7 @@
2323
2424 import configuration
2525 settings = configuration.Settings()
26 -from utils import utils
 26+from utils import file_utils
2727 from utils import messages
2828 from database import db
2929
Index: trunk/tools/editor_trends/code-snippets/match_talkpage_article_old.py
@@ -32,7 +32,7 @@
3333
3434 from utils import models
3535 from utils import messages
36 -from utils import utils
 36+from utils import file_utils
3737 from etl import extract
3838 from etl import chunker
3939 from wikitree import parser

Status & tagging log