Use indirect reference to settings to allow export_static's overrides to work correctly.

This commit is contained in:
Tim Buckley 2015-08-03 16:10:00 -06:00
parent aa18041457
commit 397a59859b
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ from testrepository.repository.file import (RepositoryFactory,
Repository,
RepositoryNotFound)
from stackviz.settings import TEST_REPOSITORIES
from stackviz import settings
NAME_SCENARIO_PATTERN = re.compile(r'^(.+) \((.+)\)$')
@ -31,7 +31,7 @@ def get_repositories():
ret = []
for path in TEST_REPOSITORIES:
for path in settings.TEST_REPOSITORIES:
try:
ret.append(factory.open(path))
except (ValueError, RepositoryNotFound) as ex: