From 8a64d0947bb9a3afcc303015ee4bd8835be03a62 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Thu, 27 Dec 2012 17:29:10 +0000 Subject: Refactor to avoid circular dependency --- (limited to 'devbot/state.py') 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 -- cgit v0.9.1