From 46b584d68bf61d303fc4d1a2db14b172b5530775 Mon Sep 17 00:00:00 2001 From: Justin Toft Date: Fri, 29 Jul 2022 19:23:05 -0400 Subject: [PATCH] Fixed typos in comments --- projects/debiancd.py | 2 +- projects/raspberrypi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/debiancd.py b/projects/debiancd.py index 43e8dd6..ce0910b 100644 --- a/projects/debiancd.py +++ b/projects/debiancd.py @@ -27,9 +27,9 @@ class DebianCD(Project): if upstream == CSC: return True + # Date Format Example: Sun 27 Mar 00:20:12 UTC 2022 date_format = "%a %d %b %H:%M:%S UTC %Y\n" - # Sun 27 Mar 00:20:12 UTC 2022 CSC_date = datetime.strptime(CSC, date_format) CSC_utc_time = time.mktime(CSC_date.timetuple()) diff --git a/projects/raspberrypi.py b/projects/raspberrypi.py index 05caf7c..574221c 100644 --- a/projects/raspberrypi.py +++ b/projects/raspberrypi.py @@ -23,7 +23,7 @@ class raspberrypi(Project): for i in s.find_all("a"): # for a href directories href = i.attrs['href'] - # The raspberry pi server doesn't use a relative path tp the parent directory + # The raspberry pi server doesn't use a relative path to the parent directory if href.endswith("/") and href != "../" and href != "/" and href != "/debian/": site_next = site+href+"Release"