Fix typos in hacking check warning numbers

The typo in warning numbers was pointed out in review after
the original patch had already merged

Change-Id: I9a4fe8c4c4d4ca8b6dbe20d9db4f2e84dca6c67e
This commit is contained in:
Daniel P. Berrange 2014-02-06 12:04:24 +00:00
parent 6ae32ef483
commit c6a46768c2

View File

@ -84,7 +84,7 @@ def import_no_virt_driver_import_deps(physical_line, filename):
if (thatdriver is not None and
thisdriver is not None and
thisdriver != thatdriver):
return (0, "N312: importing code from other virt drivers forbidden")
return (0, "N311: importing code from other virt drivers forbidden")
def import_no_virt_driver_config_deps(physical_line, filename):
@ -102,7 +102,7 @@ def import_no_virt_driver_config_deps(physical_line, filename):
if (thatdriver is not None and
thisdriver is not None and
thisdriver != thatdriver):
return (0, "N313: using config vars from other virt drivers forbidden")
return (0, "N312: using config vars from other virt drivers forbidden")
def capital_cfg_help(logical_line, tokens):