Commit b73561f9 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud

file.py remove some useless backslashes

parent 96cb321a
...@@ -154,8 +154,8 @@ def form(): ...@@ -154,8 +154,8 @@ def form():
relevant_ids[stype] = [] relevant_ids[stype] = []
relevant_ids[stype].append(row.id) relevant_ids[stype].append(row.id)
action = 'add' action = 'add'
log.debug("load add form", extra={'user_id': auth.user.id,\ log.debug("load add form", extra={'user_id': auth.user.id,
'record_id': request.vars['sample_set_id'],\ 'record_id': request.vars['sample_set_id'],
'table_name': "sample_set"}) 'table_name': "sample_set"})
# edit file # edit file
...@@ -177,8 +177,8 @@ def form(): ...@@ -177,8 +177,8 @@ def form():
action = 'edit' action = 'edit'
sample_type = request.vars["sample_type"] sample_type = request.vars["sample_type"]
log.debug("load edit form", extra={'user_id': auth.user.id,\ log.debug("load edit form", extra={'user_id': auth.user.id,
'record_id': request.vars['file_id'],\ 'record_id': request.vars['file_id'],
'table_name': "sequence_file"}) 'table_name': "sequence_file"})
else: else:
return error_message("missing sample_set or file id") return error_message("missing sample_set or file id")
...@@ -289,8 +289,8 @@ def submit(): ...@@ -289,8 +289,8 @@ def submit():
link_to_sample_sets(fid, id_dict) link_to_sample_sets(fid, id_dict)
log.info(mes, extra={'user_id': auth.user.id,\ log.info(mes, extra={'user_id': auth.user.id,
'record_id': f['id'],\ 'record_id': f['id'],
'table_name': "sequence_file"}) 'table_name': "sequence_file"})
if not error: if not error:
...@@ -502,7 +502,7 @@ def restart_pre_process(): ...@@ -502,7 +502,7 @@ def restart_pre_process():
db.commit() db.commit()
res = schedule_pre_process(sequence_file.id, pre_process.id) res = schedule_pre_process(sequence_file.id, pre_process.id)
log.debug("restart pre process", extra={'user_id': auth.user.id, log.debug("restart pre process", extra={'user_id': auth.user.id,
'record_id': sequence_file.id,\ 'record_id': sequence_file.id,
'table_name': "sequence_file"}) 'table_name': "sequence_file"})
return gluon.contrib.simplejson.dumps(res, separators=(',',':')) return gluon.contrib.simplejson.dumps(res, separators=(',',':'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment