Re: Writing tags "the hard way" in 2.2...
"Jonathan Ellis" <[email protected]> Wed, 07 Mar 2007 07:03:31 -0800
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
yes, this was removed. you can easily do the same thing with an instance var yourself, though. def body(self): if not self.conditional: return ... On Wed, 07 Mar 2007 16:00:20 +0200, "Iwan Vosloo" <[email protected]> said: > Hi, > > we suspect another change in 2.2: > > We used to be able to write a tag (something inheriting from > spyceTagPlus), and set conditional=True on it. If I understand > correctly, if you then return None from your begin(), its body will NOT > be output. > > It seems this does not work the same in 2.2? > > Thanks > -i > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Spyce-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spyce-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV