From 14451d468cc80d89a80f0fbab7d8e11f3ac467e7 Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Thu, 7 Nov 2019 16:17:46 +0000 Subject: tools: migrate script needs to write tools/.lp-to-git-user Also fix commit message lint --- tools/migrate-lp-user-to-github | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/migrate-lp-user-to-github') diff --git a/tools/migrate-lp-user-to-github b/tools/migrate-lp-user-to-github index 6b095a14..f012d312 100755 --- a/tools/migrate-lp-user-to-github +++ b/tools/migrate-lp-user-to-github @@ -56,7 +56,7 @@ GITHUB_REMOTE_PATH_TMPL = 'git@github.com:{github_user}/cloud-init.git' # Comment templates -COMMIT_MSG_TMPL = ''' +COMMIT_MSG_TMPL = '''\ lp-to-git-users: adding {gh_username} Mapped from {lp_username} @@ -146,7 +146,7 @@ def create_migration_branch( MIGRATE_BRANCH_NAME)) create_publish_branch(upstream, MIGRATE_BRANCH_NAME) lp_to_git_map = {} - lp_to_git_file = os.path.join(os.getcwd(), LP_TO_GIT_USER_FILE) + lp_to_git_file = os.path.join(os.getcwd(), 'tools', LP_TO_GIT_USER_FILE) if os.path.exists(lp_to_git_file): with open(lp_to_git_file) as stream: lp_to_git_map = util.load_json(stream.read()) -- cgit v1.2.3