Lazy commit on <function hostname at 0x7f3d97558220>.

This commit is contained in:
James Downie 2025-07-01 19:18:57 +10:00
parent 7bb317751c
commit 49a186385d
2 changed files with 0 additions and 2 deletions

View File

@ -231,4 +231,3 @@ You should also get your employer (if you work as a programmer) or school, if an
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <https://www.gnu.org/philosophy/why-not-lgpl.html>. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <https://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -30,7 +30,6 @@ def is_repo_status_outdated(repos):
if os.path.exists(filepath("status")) and os.path.exists(filepath("mtime")): if os.path.exists(filepath("status")) and os.path.exists(filepath("mtime")):
with open(filepath("mtime"), "rt") as fin: with open(filepath("mtime"), "rt") as fin:
content = fin.read().strip() content = fin.read().strip()
print(f"content: {content}")
last_mtime = float(content) last_mtime = float(content)
return latest_mtime > last_mtime return latest_mtime > last_mtime