Skip to content
Permalink
Browse files

Bump copyright years

While here, fix 'tools/bump-copyright-years' not to quit after the first
fix per file.  tk_main.py has two lines that need bumping, e.g.
  • Loading branch information
cmpilato committed Nov 22, 2019
1 parent 5640666 commit edd8779c74c6428b29a0a5f580120a488afeb416
Showing with 20 additions and 21 deletions.
  1. +1 −1 LICENSE
  2. +1 −1 lib/tk_data.py
  3. +15 −14 lib/tk_main.py
  4. +1 −1 thotkeeper
  5. +1 −3 tools/bump-copyright-years
  6. +1 −1 tools/make-release
@@ -1,4 +1,4 @@
Copyright (c) 2004-2018 C. Michael Pilato. All rights reserved.
Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -2,7 +2,7 @@
#
# ThotKeeper -- a personal daily journal application.
#
# Copyright (c) 2004-2018 C. Michael Pilato. All rights reserved.
# Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.
#
# By using this file, you agree to the terms and conditions set forth in
# the LICENSE file which can be found at the top level of the ThotKeeper
@@ -2,7 +2,7 @@
#
# ThotKeeper -- a personal daily journal application.
#
# Copyright (c) 2004-2018 C. Michael Pilato. All rights reserved.
# Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.
#
# By using this file, you agree to the terms and conditions set forth in
# the LICENSE file which can be found at the top level of the ThotKeeper
@@ -1433,19 +1433,20 @@ def _EntryPrintMenu(self, event):
pass

def _HelpAboutMenu(self, event):
wx.MessageBox("ThotKeeper, version %s\n"
"A personal daily journal application.\n"
"\n"
"Copyright (c) 2004-2008 C. Michael Pilato. "
"All rights reserved.\n"
"\n"
"ThotKeeper is open source software developed "
"under the BSD License. Question, comments, "
"and code contributions are welcome. Visit our "
"website: http://www.thotkeeper.org/\n"
% (__version__),
"About ThotKeeper",
wx.OK | wx.CENTER, self.frame)
wx.MessageBox(
"ThotKeeper - a personal daily journal application.\n"
"\n"
"Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.\n"
"\n"
"ThotKeeper is open source software developed under the BSD "
"License. Question, comments, and code contributions are "
"welcome.\n"
"\n"
"Version: %s\n"
"Website: http://www.thotkeeper.org/\n"
% (__version__),
"About ThotKeeper",
wx.OK | wx.CENTER, self.frame)

def _HelpUpdateMenu(self, event):
new_version = None
@@ -2,7 +2,7 @@
#
# ThotKeeper -- a personal daily journal application.
#
# Copyright (c) 2004-2018 C. Michael Pilato. All rights reserved.
# Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.
#
# By using this file, you agree to the terms and conditions set forth in
# the LICENSE file which can be found at the top level of the ThotKeeper
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
# Copyright (c) 2004-2018 C. Michael Pilato. All rights reserved.
# Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.
#
# By using this file, you agree to the terms and conditions set forth in
# the LICENSE.html file which can be found at the top level of the ViewVC
@@ -33,11 +33,9 @@ def replace_end_year(path, year):
if m.group(2):
lines[i] = line[:m.start(3)] + year + line[m.end(3):]
open(path, 'w').write(''.join(lines))
break
elif m.group(3) != year:
lines[i] = line[:m.end(3)] + '-' + year + line[m.end(3):]
open(path, 'w').write(''.join(lines))
break

def bump_years_recursive(target_dir, year):
children = os.listdir(target_dir)
@@ -2,7 +2,7 @@
#
# ThotKeeper -- a personal daily journal application.
#
# Copyright (c) 2004-2018 C. Michael Pilato. All rights reserved.
# Copyright (c) 2004-2019 C. Michael Pilato. All rights reserved.
#
# By using this file, you agree to the terms and conditions set forth in
# the LICENSE file which can be found at the top level of the ThotKeeper

0 comments on commit edd8779

Please sign in to comment.
You can’t perform that action at this time.