I have this small code in a python lambda that is trying to pull down a repo from bitbucket:
import git
def git_clone(username,password):
new_dir = os.getcwd() + "/temp/"
os.chdir(new_dir)
GIT_URL = "https://{0}:{1}@bitbucket.org/test-project/test.git".format(username,password)
git.Git(new_dir).clone(GIT_URL)
The git method accepts my username but does not accept my password. My password contains letters, numbers and special chars. i get this error:
URL using bad/illegal format or missing URL
Could this be a formatting issue?
r"r". still no luck @rv.kvetch