diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-27 17:29:10 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-27 17:29:10 (GMT) |
commit | 8a64d0947bb9a3afcc303015ee4bd8835be03a62 (patch) | |
tree | 456d39919b824464b5d9cb24115ba9728915d7bd /devbot/state.py | |
parent | 6ab02c1f23631f8e87615610ed811bc4bf31accc (diff) |
Refactor to avoid circular dependency
Diffstat (limited to 'devbot/state.py')
-rw-r--r-- | devbot/state.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devbot/state.py b/devbot/state.py index 40a9c76..4fdc363 100644 --- a/devbot/state.py +++ b/devbot/state.py @@ -11,7 +11,7 @@ _SYSTEM_CHECK = "syscheck" def built_module_touch(module): - git_module = module.get_git_module() + git_module = git.get_module(module) built_modules = _load_state(_BUILT_MODULES, {}) info = {"commit": git_module.get_commit_id(), @@ -22,7 +22,7 @@ def built_module_touch(module): def built_module_is_unchanged(module): - git_module = module.get_git_module() + git_module = git.get_module(module) built_modules = _load_state(_BUILT_MODULES, {}) if module.name not in built_modules: return False |