Index: trunk/tools/editor_trends/database/cache.py |
— | — | @@ -35,7 +35,8 @@ |
36 | 36 | import datetime |
37 | 37 | import random |
38 | 38 | |
39 | | -import settings |
| 39 | +import configuration |
| 40 | +settings = configuration.Settings() |
40 | 41 | import db |
41 | 42 | from utils import utils |
42 | 43 | |
— | — | @@ -109,7 +110,7 @@ |
110 | 111 | return False |
111 | 112 | |
112 | 113 | def store(self): |
113 | | - utils.store_object(self, settings.BINARY_OBJECT_FILE_LOCATION, self.__repr__()) |
| 114 | + utils.store_object(self, settings.binary_location, self.__repr__()) |
114 | 115 | |
115 | 116 | def drop_n_observations(self, n=1): |
116 | 117 | editors_to_remove = set() |
Index: trunk/tools/editor_trends/database/db.py |
— | — | @@ -21,7 +21,8 @@ |
22 | 22 | from pymongo import Connection |
23 | 23 | |
24 | 24 | |
25 | | -import settings |
| 25 | +import configuration |
| 26 | +settings = configuration.Settings() |
26 | 27 | from database import db_settings |
27 | 28 | |
28 | 29 | |