| Index: trunk/tools/editor_trends/analyses/community_graph.py |
| — | — | @@ -24,7 +24,7 @@ |
| 25 | 25 | settings = configuration.Settings() |
| 26 | 26 | |
| 27 | 27 | from database import db |
| 28 | | -from utils import utils |
| | 28 | +from utils import file_utils |
| 29 | 29 | |
| 30 | 30 | try: |
| 31 | 31 | import psyco |
| Index: trunk/tools/editor_trends/analyses/file_size_reduction.py |
| — | — | @@ -24,7 +24,7 @@ |
| 25 | 25 | import xml.etree.cElementTree as cElementTree |
| 26 | 26 | |
| 27 | 27 | import configuration |
| 28 | | -from utils import utils |
| | 28 | +from utils import file_utils |
| 29 | 29 | settings = configuration.Settings() |
| 30 | 30 | |
| 31 | 31 | |
| Index: trunk/tools/editor_trends/analyses/match_talkpage_article.py |
| — | — | @@ -25,7 +25,7 @@ |
| 26 | 26 | settings = configuration.Settings() |
| 27 | 27 | |
| 28 | 28 | from etl import extracter |
| 29 | | -from utils import utils |
| | 29 | +from utils import file_utils |
| 30 | 30 | import wikitree |
| 31 | 31 | |
| 32 | 32 | try: |
| Index: trunk/tools/editor_trends/database/launcher.py |
| — | — | @@ -24,7 +24,7 @@ |
| 25 | 25 | import configuration |
| 26 | 26 | settings = configuration.Settings() |
| 27 | 27 | from classes import exceptions |
| 28 | | -from utils import utils |
| | 28 | +from utils import file_utils |
| 29 | 29 | |
| 30 | 30 | |
| 31 | 31 | def start_mongodb_server(x, path): |
| Index: trunk/tools/editor_trends/database/cache.py |
| — | — | @@ -27,7 +27,7 @@ |
| 28 | 28 | settings = configuration.Settings() |
| 29 | 29 | |
| 30 | 30 | import db |
| 31 | | -from utils import utils |
| | 31 | +from utils import file_utils |
| 32 | 32 | from etl import shaper |
| 33 | 33 | |
| 34 | 34 | class EditorCache(object): |
| Index: trunk/tools/editor_trends/code-snippets/exporter.py |
| — | — | @@ -29,7 +29,7 @@ |
| 30 | 30 | sys.path.append('..') |
| 31 | 31 | import configuration |
| 32 | 32 | settings = configuration.Settings() |
| 33 | | -from utils import utils |
| | 33 | +from utils import file_utils |
| 34 | 34 | from utils import messages |
| 35 | 35 | from database import db |
| 36 | 36 | from etl import shaper |
| Index: trunk/tools/editor_trends/code-snippets/chunker.py |
| — | — | @@ -29,7 +29,7 @@ |
| 30 | 30 | sys.path.append('..') |
| 31 | 31 | import configuration |
| 32 | 32 | settings = configuration.Settings() |
| 33 | | -from utils import utils |
| | 33 | +from utils import file_utils |
| 34 | 34 | |
| 35 | 35 | |
| 36 | 36 | try: |
| Index: trunk/tools/editor_trends/code-snippets/count_editors.py |
| — | — | @@ -10,7 +10,7 @@ |
| 11 | 11 | import configuration |
| 12 | 12 | settings = configuration.Settings() |
| 13 | 13 | |
| 14 | | -from utils import utils |
| | 14 | +from utils import file_utils |
| 15 | 15 | |
| 16 | 16 | def main(): |
| 17 | 17 | input = os.path.join(settings.input_location, 'en', 'wiki', 'sorted') |
| Index: trunk/tools/editor_trends/code-snippets/cohort_charts.py |
| — | — | @@ -23,7 +23,7 @@ |
| 24 | 24 | |
| 25 | 25 | import configuration |
| 26 | 26 | settings = configuration.Settings() |
| 27 | | -from utils import utils |
| | 27 | +from utils import file_utils |
| 28 | 28 | |
| 29 | 29 | def prepare_cohort_dataset(dbname, filename): |
| 30 | 30 | 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 @@ |
| 23 | 23 | |
| 24 | 24 | import configuration |
| 25 | 25 | settings = configuration.Settings() |
| 26 | | -from utils import utils |
| | 26 | +from utils import file_utils |
| 27 | 27 | from utils import messages |
| 28 | 28 | from database import db |
| 29 | 29 | |
| Index: trunk/tools/editor_trends/code-snippets/match_talkpage_article_old.py |
| — | — | @@ -32,7 +32,7 @@ |
| 33 | 33 | |
| 34 | 34 | from utils import models |
| 35 | 35 | from utils import messages |
| 36 | | -from utils import utils |
| | 36 | +from utils import file_utils |
| 37 | 37 | from etl import extract |
| 38 | 38 | from etl import chunker |
| 39 | 39 | from wikitree import parser |