Skip to content
Snippets Groups Projects

REL: update changelog, bump version of pom.xml, update DEPENDENCIES

Merged Timm Fitschen requested to merge release-v0.5.0 into main
1 file
+ 14
8
Compare changes
  • Side-by-side
  • Inline
+ 14
8
@@ -63,14 +63,20 @@ def rename(changes, chunksize=10):
cont = db.Container()
for _, (old, new) in chunk.iterrows():
cont.append(db.File(path=old))
cont.retrieve()
for fi, (_, (old, new)) in zip(cont, chunk.iterrows()):
assert fi.path == old
fi.path = new
cont.update()
try:
fi = db.File(path=old)
fi.retrieve()
if not fi.is_valid():
continue
assert fi.path == old
fi.path = new
cont.append(fi)
except Exception as e:
print(e)
if len(cont) > 0:
cont.update(unique=False)
i += 1
Loading