]> git.ipfire.org Git - thirdparty/suricata-update.git/commit
rules: default rev to 0 for rules without a rev
authorJason Ish <ish@unx.ca>
Mon, 11 Feb 2019 17:19:53 +0000 (11:19 -0600)
committerJason Ish <ish@unx.ca>
Wed, 13 Feb 2019 14:53:08 +0000 (08:53 -0600)
commitc2fa41e433f8367036fddf30f55bdfd164a29c2d
tree10f879a02322bd6354fc770b52d26cddfce90022
parent5cea9cf4f29fca00ede5c0882f2f9356415f3aba
rules: default rev to 0 for rules without a rev

Comparisons between none types in Python 2 were allowed, Python 3
throws an exception here causing rules without a rev to break
suricata-update.
suricata/update/rule.py