Skip to content

Commit

Permalink
Default navigability to 0 in asset structure in security patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamal Faily committed Jan 6, 2017
1 parent 8094f14 commit 78cdbf5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cairis/gui/PatternStructureListCtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ def onAssetActivated(self,evt):
self.SetStringItem(self.theSelectedIdx,9,dlg.tailAsset())

def load(self,assocs):
for headAsset,headAdornment,headNav,headNry,headRole,tailRole,tailNry,tailNav,tailAdornment,tailAsset in assocs:
import pytest
pytest.set_trace()
for headAsset,headAdornment,headNry,headRole,tailRole,tailNry,tailAdornment,tailAsset in assocs:
headNav = 0
tailNav = 0
idx = self.GetItemCount()
self.InsertStringItem(idx,headAsset)
self.SetStringItem(idx,1,headAdornment)
Expand Down

0 comments on commit 78cdbf5

Please sign in to comment.