From e7369539f2ccab7db4fb91f6ae470d8a5a4d25fb Mon Sep 17 00:00:00 2001 From: nima Date: Thu, 4 Sep 2008 06:09:55 +0000 Subject: Cleaning up of the dmidecode module, mostly conversion of things that can be Python `None's or `Int's but were `String'. Replaced a meaningless int dictionary key to `data'. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@68 abc39116-655e-4be6-ad55-d661dc543056 --- example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example.py') diff --git a/example.py b/example.py index bfea140..9c585e6 100755 --- a/example.py +++ b/example.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python2.3 import dmidecode import sys from pprint import pprint @@ -7,7 +7,7 @@ from pprint import pprint #print "*** baseboard ***\n"; pprint(dmidecode.baseboard()) #print "*** chassis ***\n"; pprint(dmidecode.chassis()) #print "*** processor ***\n"; pprint(dmidecode.processor()) -#print "*** memory ***\n"; pprint(dmidecode.memory()) +print "*** memory ***\n"; pprint(dmidecode.memory()) #print "*** cache ***\n"; pprint(dmidecode.cache()) #print "*** connector ***\n"; pprint(dmidecode.connector()) #print "*** slot ***\n"; pprint(dmidecode.slot()) -- cgit