Re: $target contains attributes
Tim TimeWaster <tim-wqQJVv9kxZ/[email protected]> Sat, 19 Jun 2004 21:30:31 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 19, 2004 at 09:28:03PM +0200, Bram Moolenaar wrote:
>
> Tim Hemel wrote:
>
> It's not exactly clear where the error message comes from. Is it in the
> Python code?
Yes it is, but caused by _no.target having a "strange" value.
> In Aap commands you can use $-varname to get the variable value without
> the attributes. In Python you can use var2list(_no.varname)[0].
Ah, that is what I needed to know. I worked around it in the meantime by
using the following hack:
Files = ...
PFiles = $Files
all : $Files
:attr { publish=... } $PFiles
Tim
--
Zen Microsystems: we're the om in .commmmmmmmm...
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND