https://github.com/dalboris/vpaint
Revision 1cf7e4c4bd509fdae24943fd7ccb434d61bcfa43 authored by Boris Dalstein on 05 June 2020, 18:54:45 UTC, committed by Boris Dalstein on 05 June 2020, 18:54:45 UTC
1 parent 1ec654c
Raw File
Tip revision: 1cf7e4c4bd509fdae24943fd7ccb434d61bcfa43 authored by Boris Dalstein on 05 June 2020, 18:54:45 UTC
Allow to export 3D view as image sequence
Tip revision: 1cf7e4c
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)
back to top