diff options
author | W. Trevor King <wking@tremily.us> | 2012-10-19 07:49:16 -0400 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-03-25 00:34:15 -0300 |
commit | d9c0c63eb790dbd51ceca0efbc36e9b88e7c9fe8 (patch) | |
tree | a71ae371b21ea44a8a4973450086a79167e87615 /libkmod | |
parent | caee9c10c5e22fd2b3ba2ae09fefa6e0e492bb06 (diff) | |
download | kmod-d9c0c63eb790dbd51ceca0efbc36e9b88e7c9fe8.tar.gz kmod-d9c0c63eb790dbd51ceca0efbc36e9b88e7c9fe8.tar.bz2 kmod-d9c0c63eb790dbd51ceca0efbc36e9b88e7c9fe8.zip |
python: Initialize Kmod.mod_dir to None in __cinit__().
Diffstat (limited to 'libkmod')
-rw-r--r-- | libkmod/python/kmod/kmod.pyx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkmod/python/kmod/kmod.pyx b/libkmod/python/kmod/kmod.pyx index 8a13f3a..f2cc8d3 100644 --- a/libkmod/python/kmod/kmod.pyx +++ b/libkmod/python/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() |