python 3 updates

- Fix super() calls for python 3
- No need to inherit objects.
- No need for u at the start of strings
- Tidied up some brackets and f-strings too
This commit is contained in:
Mark Mayo authored and GitHub committed 2022-11-19 10:13:41 +05:30
1 parent 02362d8aa4
commit 41508f7f67
354 files changed
+532 -534

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ def help():
print("\nInvalid command line options. Usage:")
print("\t{0} <year to find> <year to replace>".format(sys.argv[0]))
print("\tExample: {0} 2018 2019\n".format(sys.argv[0]))
exit(1)
sys.exit(1)
if __name__ == '__main__':