Skip to content

Commit

Permalink
Added update_type key to UpdateMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsekar committed Nov 14, 2017
1 parent 98d4651 commit 5dc201f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wc_rules/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class UpdateMessage(dict):
def __init__(self,*args,**kwargs):
validkeys = 'update_attr instance nodequery graphquery'.split()
validkeys = 'update_attr update_type instance nodequery graphquery'.split()
for kwarg in kwargs:
if kwarg not in validkeys:
raise KeyError(kwarg+' not a valid key.')
Expand Down

0 comments on commit 5dc201f

Please sign in to comment.