misc: don't try cleaning non existing directories on exit
This commit is contained in:
parent
050d90e75e
commit
62aabff038
|
@ -368,6 +368,8 @@ def send_packages(dist, arch, project, package, last_tag):
|
|||
open(stamp_file, 'w').close()
|
||||
|
||||
def clean_git_on_exit(git_project_path):
|
||||
if not os.path.exists(git_project_path):
|
||||
return
|
||||
os.chdir(git_project_path)
|
||||
call("git stash --quiet")
|
||||
changelog_tmp = os.path.join(
|
||||
|
|
Loading…
Reference in New Issue