Index: gm/rebaseline_server/compare_configs.py |
diff --git a/gm/rebaseline_server/compare_configs.py b/gm/rebaseline_server/compare_configs.py |
index aa26ba6f3740582db892533448739860bb291b71..1e64bebd72978a32e05a7806a3c748a913bdbd3e 100755 |
--- a/gm/rebaseline_server/compare_configs.py |
+++ b/gm/rebaseline_server/compare_configs.py |
@@ -21,10 +21,6 @@ import time |
# Imports from within Skia |
# |
-# TODO(epoger): Once we move the create_filepath_url() function out of |
-# download_actuals into a shared utility module, we won't need to import |
-# download_actuals anymore. |
-# |
# We need to add the 'gm' directory, so that we can import gm_json.py within |
# that directory. That script allows us to parse the actual-results.json file |
# written out by the GM tool. |
@@ -35,12 +31,12 @@ GM_DIRECTORY = os.path.dirname(PARENT_DIRECTORY) |
TRUNK_DIRECTORY = os.path.dirname(GM_DIRECTORY) |
if GM_DIRECTORY not in sys.path: |
sys.path.append(GM_DIRECTORY) |
-import download_actuals |
import gm_json |
import imagediffdb |
import imagepair |
import imagepairset |
import results |
+import url_utils |
class ConfigComparisons(results.BaseComparisons): |
@@ -71,7 +67,7 @@ class ConfigComparisons(results.BaseComparisons): |
self._image_diff_db = imagediffdb.ImageDiffDB(generated_images_root) |
self._diff_base_url = ( |
diff_base_url or |
- download_actuals.create_filepath_url(generated_images_root)) |
+ url_utils.create_filepath_url(generated_images_root)) |
self._actuals_root = actuals_root |
self._load_config_pairs(configs) |
self._timestamp = int(time.time()) |