projects
/
python-kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de83f0
)
Initialize Kmod.mod_dir to None in __cinit__().
author
W. Trevor King
<wking@tremily.us>
Fri, 19 Oct 2012 11:49:16 +0000
(07:49 -0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 19 Oct 2012 11:49:16 +0000
(07:49 -0400)
Signed-off-by: W. Trevor King <wking@tremily.us>
kmod/kmod.pyx
patch
|
blob
|
history
diff --git
a/kmod/kmod.pyx
b/kmod/kmod.pyx
index 8a13f3a3b2fc033e0a04e4f104e1aaad8b7d2e7d..f2cc8d3368587dcbb835060e547b3fc4f09930db 100644
(file)
--- a/
kmod/kmod.pyx
+++ b/
kmod/kmod.pyx
@@
-24,6
+24,7
@@
cdef class Kmod (object):
"Wrap a struct kmod_ctx* item"
def __cinit__(self):
self._kmod_ctx = NULL
+ self.mod_dir = None
def __dealloc__(self):
self._cleanup()