https://github.com/dalboris/vpaint
Revision c8673becc7118707f226dcd444db9e6f5b6e90dd authored by Boris Dalstein on 16 December 2019, 16:52:58 UTC, committed by Boris Dalstein on 16 December 2019, 16:52:58 UTC
1 parent 801b5e6
Tip revision: c8673becc7118707f226dcd444db9e6f5b6e90dd authored by Boris Dalstein on 16 December 2019, 16:52:58 UTC
SVG Import: Fix class -> struct forward declaration; was causing linking error on Windows (#9)
SVG Import: Fix class -> struct forward declaration; was causing linking error on Windows (#9)
Tip revision: c8673be
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 ...