Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Fix ValueError when deleting rules #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyretic/core/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ def install_diff_lists(diff_lists, classifier_version_no):

if to_delete:
for rule in to_delete:
(match_dict,priority,_,_) = rule
(match_dict,priority,_,_,_) = rule
if match_dict['switch'] in switches:
self.delete_rule((match_dict, priority))
if to_add:
Expand Down