distgit: And so does os.makedirs
This commit is contained in:
parent
015c24618c
commit
1de198612a
1 changed files with 1 additions and 1 deletions
|
@ -179,9 +179,9 @@ def main():
|
|||
# Add the file to the old path, where fedpkg is currently looking for it
|
||||
if hash_type == "md5":
|
||||
old_dir = os.path.join(module_dir, filename, checksum)
|
||||
os.makedirs(old_dir)
|
||||
|
||||
try:
|
||||
os.makedirs(old_dir)
|
||||
os.link(dest_file, os.path.join(old_dir, filename))
|
||||
except OSError as e:
|
||||
if e.errno != errno.EEXIST:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue