Commit graph

8 commits

Author SHA1 Message Date
Ana Maria Martinez Gomez
ab07022ff3
[copyright + license] Fix headers
Replace the header from source code files using the following script:
```Python
for dir_path, dir_names, file_names in os.walk("flare-floss"):
    for file_name in file_names:
        try:
            file_path = f"{dir_path}/{file_name}"
            f = open(file_path, "rb+")
            content = f.read()
            m = re.search(OLD_HEADER, content)
            if not m:
                continue
            print(f"{file_path}: {m.group('year')}")
            content = content.replace(m.group(0), NEW_HEADER % m.group("year"))
            f.seek(0)
            f.write(content)
        except:
            continue
```

Some files had the copyright headers inside a `"""` comment and needed
manual changes before applying the script.

The old header had the confusing sentence `All rights reserved`, which
does not make sense for an open source license. Replace the header by
the default Google header that corrects this issue and keep floss
consistent with other Google projects.
2025-01-14 17:52:22 +01:00
Moritz Raabe
8c59808ae6 s/fireeye/mandiant/ 2021-09-29 16:50:38 +02:00
Moritz Raabe
e21752ec5e fix isort 2020-11-03 21:13:32 +01:00
Moritz Raabe
03f2fa4770 add copyright information 2017-01-10 17:22:38 +01:00
Pilate
8f0ae0c9f8 pep8 fixes 2016-05-19 18:58:08 -07:00
Pilate
f4dcd8c847 consistent spacing 2016-05-19 14:59:47 -07:00
Pilate
956ece4e1c remove extra import 2016-05-19 14:55:37 -07:00
Pilate
aae2603155 add testing for new memdiff 2016-05-19 13:59:11 -07:00