exit_error()
atexit.register(remove_git_target_workspace)
os.chdir(GIT_TARGET_DIR)
+ git_helper.git_checkout_branch(GIT_DEBIAN_BRANCH)
repo = git.repo.Repo()
if not GIT_COMMITTER_EMAIL:
# if the GIT_COMMIT_EMAIL is not set,
for commit in repo.commits():
if commit.id == GIT_NEW_ID:
GIT_COMMITTER_EMAIL = commit.committer.email
+ logger.debug(
+ 'Found "%s" in commit-id "%s" at "%s"'
+ %(GIT_COMMITTER_EMAIL, commit.id,
else:
raise Exception('No git_committer_email found')
logger.info('Directory Listing: %s' %(os.listdir(GIT_TARGET_DIR)))