From: Andrey Rahmatullin <wrar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Сборка system-config-printer для p5
Date: Fri, 11 Jun 2010 20:38:26 +0600
Message-ID: <20100611143826.GZ5644@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <20100611142604.GJ13108@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 916 bytes --]
On Fri, Jun 11, 2010 at 06:26:04PM +0400, Alexey Tourbin wrote:
> Note that p5 has python-2.5, and sisyphus has python-2.6.
> reply_handler=self._pk_reply_handler,
> ^
> SyntaxError: invalid syntax
> 77 pk_method (*self._pk_args,
> 78 reply_handler=self._pk_reply_handler,
> 79 error_handler=self._pk_error_handler,
> 80 timeout=3600)
http://docs.python.org/whatsnew/2.6.html#other-language-changes
It's also become legal to provide keyword arguments after a *args
argument to a function call.
Решение: переместить *self._pk_args в конец списка аргументов.
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):
<evyscr> О! Кто задавался вопросами минимизации трафика при использовании git?
<roman> evyscr: у меня минимально - не пользуюсь вообще
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next prev parent reply other threads:[~2010-06-11 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-11 13:10 Денис Корявов
2010-06-11 14:26 ` Alexey Tourbin
2010-06-11 14:38 ` Andrey Rahmatullin [this message]
2010-06-15 6:47 ` Денис Корявов
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=20100611143826.GZ5644@wrars-comp.wrarsdomain \
--to=wrar@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