Position des bornes avec position()
darcs-hash:20060318073550-d1718-ab139e162ae7701dc2b8f777546faf5bf8bf08b7.gz
This commit is contained in:
parent
bbe17b43dd
commit
585af6dac7
1 changed files with 1 additions and 2 deletions
|
@ -57,9 +57,8 @@ for b in bornes:
|
|||
print ' <uptime>%s</uptime>' % uptimes[nom]
|
||||
except KeyError:
|
||||
pass
|
||||
position = filter(lambda x: x.startswith("<position>"), b.info())
|
||||
position = b.position()
|
||||
if position:
|
||||
position = position[0].replace("<position>","").split(" ")
|
||||
print ' <position x="%s" y="%s" />' % (position[1], position[0])
|
||||
print '</borne>'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue