https://github.com/dalboris/vpaint
Revision 42157047119ebd5760c906c926035a37b3d1eb1f authored by Boris Dalstein on 14 December 2019, 14:44:51 UTC, committed by Boris Dalstein on 14 December 2019, 14:44:51 UTC
1 parent 6e95494
Tip revision: 42157047119ebd5760c906c926035a37b3d1eb1f authored by Boris Dalstein on 14 December 2019, 14:44:51 UTC
SVG Import: duplicate start/end sample when creating a closed edge as per precondition (#9)
SVG Import: duplicate start/end sample when creating a closed edge as per precondition (#9)
Tip revision: 4215704
update_copyright.py
#!/usr/bin/env python3
#
from pathlib import Path
before = "Copyright (C) 2012-2019 The VPaint Developers"
after = "Copyright (C) 2012-2019 The VPaint Developers"
if __name__ == "__main__":
path = Path(".")
for file in path.glob("src/**/*"):
if file.suffix in [".h", ".cpp", ".pro"]:
s1 = file.read_text()
s2 = s1.replace(before, after)
if s1 != s2:
file.write_text(s2)
print(file)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...