Skip to content
Snippets Groups Projects
Commit 647193c8 authored by Ben Adida's avatar Ben Adida
Browse files

fixed buggy fields_to_save list management, new fab deployment items

parent c5f70d02
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ def do_local_logout(request): ...@@ -84,7 +84,7 @@ def do_local_logout(request):
# let's clean up the self-referential issue: # let's clean up the self-referential issue:
field_names_to_save = set(field_names_to_save) field_names_to_save = set(field_names_to_save)
field_names_to_save.remove(FIELDS_TO_SAVE) field_names_to_save = field_names_to_save - set([FIELDS_TO_SAVE])
field_names_to_save = list(field_names_to_save) field_names_to_save = list(field_names_to_save)
fields_to_save = dict([(name, request.session.get(name, None)) for name in field_names_to_save]) fields_to_save = dict([(name, request.session.get(name, None)) for name in field_names_to_save])
......
...@@ -35,6 +35,7 @@ def check_tag(tag, path): ...@@ -35,6 +35,7 @@ def check_tag(tag, path):
abort("no local tag %s" % tag) abort("no local tag %s" % tag)
with cd(path): with cd(path):
run('git pull origin master')
result = run('git tag') result = run('git tag')
if tag not in result.split("\n"): if tag not in result.split("\n"):
abort("no remote tag %s" % tag) abort("no remote tag %s" % tag)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment