skyTile.py   skyTile.py 
#!/usr/bin/python #!/usr/bin/python
#
# Fabien Chereau fchereau@eso.org # Fabien Chereau fchereau@eso.org
#
import os import os
import gzip import gzip
def writePolys(pl, f): def writePolys(pl, f):
"""Write a list of polygons pl into the file f. """Write a list of polygons pl into the file f.
The result is under the form [[[ra1, de1],[ra2, de2],[ra3, de3],[ra4 , de4]], [[ra1, de1],[ra2, de2],[ra3, de3]]]""" The result is under the form [[[ra1, de1],[ra2, de2],[ra3, de3],[ra4 , de4]], [[ra1, de1],[ra2, de2],[ra3, de3]]]"""
f.write('[') f.write('[')
for idx,poly in enumerate(pl): for idx,poly in enumerate(pl):
f.write('[') f.write('[')
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/