Commit fd349a88 authored by louis kleverman's avatar louis kleverman

might have found bugg

parent 4924cedd
......@@ -95,11 +95,13 @@ def update_processor_visibility(proc_id, prev_visibility, new_visibility,licence
log.debug('UPDATE PROC VISIBILITY MISSING PARAMS')
return False
# resource = "processor:%s" % str(proc_id)
resource = "processor:%s" % str(proc_id)
# log.debug("PASSED VALUES : id : %s prev_visibility : %s new_visibility : %s licenced : %s prev_licenced : %s" % (
# proc_id, prev_visibility, new_visibility,licenced,prev_licenced
# ))
# log.debug(' --------CHECK %s (prev == %s and new == %s ' % (resource,prev_visibility,new_visibility) )
try:
# PRIVATE TO PUBLIC
if(prev_visibility == 1 and new_visibility == ProcessorVisibility.PUBLIC ):
......
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