ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Cherepanov <cas@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] linux_distribution() из Python
Date: Thu, 3 May 2018 16:41:59 +0300
Message-ID: <7fd47e59-a2d4-e589-b2ba-2b7dab4183c9@altlinux.org> (raw)

Предлагается в функции linux_distribution() из Python 2.x и 3.x
возвращать первым параметром "alt" для любых дистрибутивов с
/etc/altlinux-release.

Сейчас оно берёт первое слово из /etc/altlinux-release, что приводит к
https://bugzilla.altlinux.org/show_bug.cgi?id=34266

Возражения есть?

-- 
Andrey Cherepanov
cas@altlinux.org



             reply	other threads:[~2018-05-03 13:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 13:41 Andrey Cherepanov [this message]
2018-05-03 13:53 ` Dmitry V. Levin
2018-05-03 14:03   ` Andrey Cherepanov
2018-05-03 14:40 ` Anton Farygin
2018-05-03 14:52   ` Andrey Cherepanov
2018-05-03 15:26     ` Sergey V Turchin
2018-05-03 16:01   ` Dmitry V. Levin
2018-05-04 11:30       ` Anton Farygin
2018-05-04 11:37         ` Sergey V Turchin
2018-05-04 11:31       ` Mikhail Efremov
2018-05-04 11:37         ` Sergey V Turchin
2018-05-04 22:27           ` Mikhail Efremov
2018-05-07  7:24             ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7fd47e59-a2d4-e589-b2ba-2b7dab4183c9@altlinux.org \
    --to=cas@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git