From 0d0a7194226215703c5536fdae4993a4d4a81816 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 25 Dec 2012 02:34:09 +0000 Subject: Refactor to put get_commit_id in the git module --- (limited to 'commands') diff --git a/commands/common.py b/commands/common.py index 37a8abf..7324e31 100644 --- a/commands/common.py +++ b/commands/common.py @@ -7,8 +7,11 @@ sys.path.append(base_dir) from devbot import config from devbot import command +from devbot import git def setup(): + git.set_root_path(base_dir) + args = {"config_dir": os.path.join(base_dir, "config"), "install_dir": os.path.join(base_dir, "install"), "source_dir": os.path.join(base_dir, "source"), -- cgit v0.9.1