From 1f70361d08e96a1ad98c465670f901b1262afbcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 26 Aug 2023 18:30:59 +0200 Subject: [PATCH] systemd-boot-builder: resort imports according to isort foo --- .../systemd-boot/systemd-boot-builder.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py index a040518a5a57..a025e9f59251 100755 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py @@ -1,23 +1,23 @@ #! @python3@/bin/python3 -B import argparse -import shutil -import os -import sys -import errno -import subprocess -import glob -import tempfile -import errno -import warnings import ctypes -libc = ctypes.CDLL("libc.so.6") -import re import datetime +import errno import glob +import os import os.path -from typing import NamedTuple, List, Optional +import re +import shutil +import subprocess +import sys +import tempfile +import warnings +from typing import NamedTuple + from packaging import version +libc = ctypes.CDLL("libc.so.6") + class SystemIdentifier(NamedTuple): profile: Optional[str] generation: int