From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Vitaly Lipatov <lav@altlinux.org>
Subject: Re: [devel] zephulor-0.9a-alt3: i586 rebuild failed
Date: Tue, 20 Nov 2007 19:17:27 +0300
Message-ID: <20071120161727.GS23589@solemn.turbinal> (raw)
In-Reply-To: <20071119195650.2CFF028232@hint1.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]
On Mon, Nov 19, 2007 at 10:56:50PM +0300, QA Team Robot wrote:
> Package: zephulor-0.9a-alt3
> Packager: Vitaly Lipatov <lav@altlinux>
> Status: i586 rebuild failed.
> Please investigate.
> python.req: ERROR: /usr/src/tmp/zephulor-buildroot/usr/share/games/zephulor/maptool/interface.py: invalid syntax (line 76)
> Traceback (most recent call last):
> File "/usr/lib/rpm/python.req.py", line 173, in ?
> lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1)
> File "<string>", line 76
> if self.isactive = 0:
> ^
> SyntaxError: invalid syntax
Здесь отловилась реальная ошибка в питоновском коде.
/usr/share/games/zephulor/maptool/interface.py:
73 def activate(self):
74 """Activate if deactivated, returns nonzero on success"""
75
76 if self.isactive = 0:
77 self.isactive = 1
78 return(1)
79 else:
80 return
81
82 def deactivate(self):
83 """Deactivate if activated, returns nonzero on success"""
84
85 if self.isactive = 1:
86 self.isactive = 0
87 return(1)
88 else:
89 return
В условии if должно быть не присваивание, а сравнение.
Желательно известить об этом апстрим.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
parent reply other threads:[~2007-11-20 16:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20071119195650.2CFF028232@hint1.office.altlinux.org>]
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=20071120161727.GS23589@solemn.turbinal \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
--cc=lav@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