python: module: fix versions -> info typo in Module._info_get() error message.

This commit is contained in:
W. Trevor King 2012-10-19 09:10:53 -04:00 committed by Lucas De Marchi
parent d9c0c63eb7
commit 0a2fab2b32

View File

@ -76,7 +76,7 @@ cdef class Module (object):
cdef _list.ModListItem mli
err = _libkmod_h.kmod_module_get_info(self.module, &ml.list)
if err < 0:
raise _KmodError('Could not get versions')
raise _KmodError('Could not get info')
info = _collections.OrderedDict()
try:
for item in ml: