Prints 'zoom N' or 'zooms N-M'.
(z1, z2)
| 30 | return result |
| 31 | |
| 32 | def zooms_string(z1, z2): |
| 33 | """Prints 'zoom N' or 'zooms N-M'.""" |
| 34 | if z2 != z1: |
| 35 | return "zooms {}-{}".format(min(z1, z2), max(z1, z2)) |
| 36 | else: |
| 37 | return "zoom {}".format(z1) |
| 38 | |
| 39 | def add_missing_zooms(dest, typ, source, target, high): |
| 40 | """Checks zoom ranges for source and target, and appends as much sources to |
no test coverage detected