[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH] Remove dead code about zoom_level
From: |
gael . utard |
Subject: |
[Maposmatic-dev] [PATCH] Remove dead code about zoom_level |
Date: |
Sun, 1 Apr 2012 01:12:07 +0200 |
From: Gael UTARD <address@hidden>
Signed-off-by: Gael UTARD <address@hidden>
---
www/maposmatic/views.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/www/maposmatic/views.py b/www/maposmatic/views.py
index 567ce29..09fc56a 100644
--- a/www/maposmatic/views.py
+++ b/www/maposmatic/views.py
@@ -230,8 +230,7 @@ def query_papersize(request):
lat_bottom_right, lon_bottom_right)
renderer_cls = renderers.get_renderer_class_by_name(layout)
- paper_sizes = sorted(renderer_cls.get_compatible_paper_sizes(
- bbox, stylesheet.zoom_level),
+ paper_sizes = sorted(renderer_cls.get_compatible_paper_sizes(bbox),
key = lambda p: p[1])
return HttpResponse(content=json_encode(paper_sizes),
--
1.7.5.4