Skip to content

Commit

Permalink
fixed --auto-endorse which was always enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Synge committed May 29, 2014
1 parent 7ee0219 commit ade1755
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vmcatcher/vmcatcher_subscribe/fatcontroler.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,7 @@ def subscriptions_subscribe(self,inmetadata):
metadata = {}
if 'autoEndorse' in inmetadata:
metadata["autoEndorse"] = inmetadata['autoEndorse']

urls_selected = inmetadata['subscription_url_list']


if "userName" in inmetadata:
userName = inmetadata['userName']
metadata["userName"] = userName
Expand Down Expand Up @@ -323,8 +320,8 @@ def subscribe_file(self,Session,inmetadata):
metadata = {}
autoEndorse = False
if 'autoEndorse' in inmetadata:
metadata["autoEndorse"] = inmetadata["autoEndorse"]
autoEndorse = True
if inmetadata["autoEndorse"] == True:
autoEndorse = inmetadata["autoEndorse"]
if 'filename' in inmetadata:
metadata["uri"] = inmetadata["filename"]
if 'trustAnchor' in inmetadata:
Expand Down

0 comments on commit ade1755

Please sign in to comment.