From 57199fd2900cec3d141761a7faad38f6c45f30d9 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 30 Nov 2013 13:05:23 +0100 Subject: [PATCH] Freeze leaflet to 0.7 --- fabfile.py | 4 ++-- umap/sesql_config.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fabfile.py b/fabfile.py index ec7515d2..b9ae42d9 100644 --- a/fabfile.py +++ b/fabfile.py @@ -238,7 +238,7 @@ def collect_remote_statics(): remote_static_dir = '{project_dir}/{project_name}/remote_static'.format(**env) run_as_umap('mkdir -p {0}'.format(remote_static_dir)) remote_repositories = { - 'leaflet': "git://github.com/Leaflet/Leaflet.git@master", + 'leaflet': "git://github.com/Leaflet/Leaflet.git@master#v0.7", 'draw': "git://github.com/Leaflet/Leaflet.draw.git@master", 'hash': "git://github.com/mlevans/leaflet-hash.git@master", 'storage': 'git://github.com/yohanboniface/Leaflet.Storage.git@master', @@ -265,7 +265,7 @@ def collect_remote_statics(): exists = run_as_umap('if [ -d "{0}" ]; then echo 1; fi'.format(subdir)) if exists: with cd(subdir): - run_as_umap('git pull origin {0}'.format(branch)) + run_as_umap('git pull origin {0} --tags'.format(branch)) else: run_as_umap('git clone {0} {1}'.format(repository, subdir)) with cd(subdir): diff --git a/umap/sesql_config.py b/umap/sesql_config.py index 38764133..d9fe6f16 100644 --- a/umap/sesql_config.py +++ b/umap/sesql_config.py @@ -33,7 +33,6 @@ CHARSET = "utf-8" from sesql.fields import * from sesql.sources import * -from django.db.models import Q from leaflet_storage import models #