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/config.py') diff --git a/devbot/config.py b/devbot/config.py index 24d095a..3faf2f4 100644 --- a/devbot/config.py +++ b/devbot/config.py @@ -6,7 +6,6 @@ import tempfile from devbot import distro from devbot import plugins -from devbot import git from devbot import utils from devbot import command @@ -52,11 +51,6 @@ class Module: def get_build_dir(self): return os.path.join(get_build_dir(), self.name) - def get_git_module(self): - return git.Module(path=get_source_dir(), name=self.name, - remote=self.repo, branch=self.branch, tag=self.tag, - retry=10) - def get_build_system(self): source_dir = self.get_source_dir() if os.path.exists(os.path.join(source_dir, "setup.py")): -- cgit v0.9.1