We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42fe537 commit 5a68198Copy full SHA for 5a68198
1 file changed
ietf/doc/expire.py
@@ -114,7 +114,13 @@ def move_file(f):
114
dst = os.path.join(settings.INTERNET_DRAFT_ARCHIVE_DIR, f)
115
116
if os.path.exists(src):
117
- shutil.move(src, dst)
+ try:
118
+ shutil.move(src, dst)
119
+ except IOError as e:
120
+ if "No such file or directory" in str(e):
121
+ pass
122
+ else:
123
+ raise
124
125
src_dir = Path(settings.INTERNET_DRAFT_PATH)
126
for file in src_dir.glob("%s-%s.*" % (doc.name, rev)):
0 commit comments