osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/43992?usp=email )

Change subject: OBS: lib/debian: fix ruff UP017
......................................................................

OBS: lib/debian: fix ruff UP017

Related: https://docs.astral.sh/ruff/rules/datetime-timezone-utc/
Change-Id: I6fc9067bda8b942a66c4587dc9947cb4f7e2e200
---
M scripts/obs/lib/debian.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved
  jolly: Looks good to me, but someone else must approve




diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py
index 5b12cb4..3f6e827 100644
--- a/scripts/obs/lib/debian.py
+++ b/scripts/obs/lib/debian.py
@@ -38,7 +38,7 @@
     version = version.replace("-", ".")

     # Debian changelog requires this specific date format
-    date = datetime.datetime.now(datetime.timezone.utc)
+    date = datetime.datetime.now(datetime.UTC)
     date_str = date.strftime("%a, %d %b %Y %H:%M:%S %z")

     # Add new changelog entry

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43992?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I6fc9067bda8b942a66c4587dc9947cb4f7e2e200
Gerrit-Change-Number: 43992
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: jolly <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to