summaryrefslogtreecommitdiffstats
path: root/dmidecodemodule.c
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-10-31 11:43:15 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-10-31 11:43:15 +0000
commit56069e096f18a9538a8c0e86c96959b2fbef3dcf (patch)
tree230941f266a355011ebd67830895a94e820437aa /dmidecodemodule.c
parent28ddefea64e27dbcbd928cae362527b2d63dcb5a (diff)
downloadpython-dmidecode-56069e096f18a9538a8c0e86c96959b2fbef3dcf.tar.gz
python-dmidecode-56069e096f18a9538a8c0e86c96959b2fbef3dcf.tar.xz
python-dmidecode-56069e096f18a9538a8c0e86c96959b2fbef3dcf.zip
Removed junk comments.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@99 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecodemodule.c')
-rw-r--r--dmidecodemodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dmidecodemodule.c b/dmidecodemodule.c
index 0eeabbb..860fff6 100644
--- a/dmidecodemodule.c
+++ b/dmidecodemodule.c
@@ -65,8 +65,6 @@ u8 *parse_opt_type(u8 *p, const char *arg) {
static PyObject* dmidecode_get(PyObject *self, const char* section) {
- //if(self == NULL) return NULL;
-
//mtrace();
/* This is `embedding API', not applicable to this dmidecode module which is `Extending'
@@ -188,13 +186,11 @@ static PyObject* dmidecode_dump(PyObject *self, PyObject *args) { return Py_Fals
static PyObject* dmidecode_load(PyObject *self, PyObject *args) { return Py_False; }
static PyObject* dmidecode_get_dev(PyObject *self, PyObject *null) {
- //if(self == NULL) return NULL;
if(opt.dumpfile != NULL) return opt.dumpfile;
else return PyString_FromString(opt.devmem);
}
static PyObject* dmidecode_set_dev(PyObject *self, PyObject *arg) {
- //if(self == NULL) return NULL;
if(PyString_Check(arg)) {
if(opt.dumpfile) { Py_DECREF(opt.dumpfile); }
opt.dumpfile = arg;