module: fix versions -> info typo in Module._info_get() error message.
authorW. Trevor King <wking@tremily.us>
Fri, 19 Oct 2012 13:10:53 +0000 (09:10 -0400)
committerW. Trevor King <wking@tremily.us>
Fri, 19 Oct 2012 13:10:53 +0000 (09:10 -0400)
Signed-off-by: W. Trevor King <wking@tremily.us>
kmod/module.pyx

index 31336b0a1e90cbe7cc0831c2e010268ee8b3a0dc..ed51bfadc9aa62f17c23c175f5b728d819771fa0 100644 (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: