diff --git a/github_api/repos.py b/github_api/repos.py index aa5bf304..ad6ac3c1 100644 --- a/github_api/repos.py +++ b/github_api/repos.py @@ -46,6 +46,7 @@ def create_label(api, urn, name, color="ededed"): "name": name, "color": color } + resp = None try: resp = api("post", "/repos/{urn}/labels".format(urn=urn), json=data) except: