From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA88E158089 for ; Fri, 6 Oct 2023 12:34:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F296D2BC04A; Fri, 6 Oct 2023 12:34:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D31442BC04A for ; Fri, 6 Oct 2023 12:34:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E52AE335CE9 for ; Fri, 6 Oct 2023 12:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79F879CD for ; Fri, 6 Oct 2023 12:34:15 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1696549638.c08fea8ad853d1508b412f06dd9636273912f1c1.sping@gentoo> Subject: [gentoo-commits] proj/elogv:master commit in: / X-VCS-Repository: proj/elogv X-VCS-Files: elogv setup.py X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: c08fea8ad853d1508b412f06dd9636273912f1c1 X-VCS-Branch: master Date: Fri, 6 Oct 2023 12:34:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9e720c35-7808-41fa-abc4-e392e19f9a4c X-Archives-Hash: 8ba594b7cb4e7f8c737ff6adf92b3035 commit: c08fea8ad853d1508b412f06dd9636273912f1c1 Author: Alfred Wingate protonmail com> AuthorDate: Thu Oct 5 23:47:18 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Thu Oct 5 23:47:18 2023 +0000 URL: https://gitweb.gentoo.org/proj/elogv.git/commit/?id=c08fea8a Reformat with isort Signed-off-by: Alfred Wingate protonmail.com> elogv | 19 ++++++++++--------- setup.py | 10 ++++------ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/elogv b/elogv index 4b4f85f..eb3a2d2 100755 --- a/elogv +++ b/elogv @@ -20,21 +20,22 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import os -import sys -import re -from datetime import datetime +import bz2 import curses import curses.ascii -import textwrap -from portage import settings as port_settings -from glob import glob import gettext -import locale import gzip -import bz2 +import locale import lzma +import os +import re import signal +import sys +import textwrap +from datetime import datetime +from glob import glob + +from portage import settings as port_settings _LOCALE_CATEGORY_PAIRS = ( (locale.LC_COLLATE, "LC_COLLATE"), diff --git a/setup.py b/setup.py index d182056..c499edb 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,11 @@ -from setuptools import setup -from setuptools import Command -from setuptools.command.build import build as _build -from setuptools.command.install import install as _install - import logging - import os from glob import glob +from setuptools import Command, setup +from setuptools.command.build import build as _build +from setuptools.command.install import install as _install + ## Snippet of code found on ## http://developer.berlios.de/snippet/detail.php?type=snippet&id=100019 ## Useful to handle *.po files under distutils