summaryrefslogtreecommitdiffstats
path: root/example.py
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-09-04 06:09:55 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-09-04 06:09:55 +0000
commite7369539f2ccab7db4fb91f6ae470d8a5a4d25fb (patch)
treed562a3d5ebc7bd0e2122e84d5cfb649d76068bff /example.py
parentb3880a3305dcdd866638202b9da95cd99f06b085 (diff)
downloadpython-dmidecode-e7369539f2ccab7db4fb91f6ae470d8a5a4d25fb.tar.gz
python-dmidecode-e7369539f2ccab7db4fb91f6ae470d8a5a4d25fb.tar.xz
python-dmidecode-e7369539f2ccab7db4fb91f6ae470d8a5a4d25fb.zip
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
Diffstat (limited to 'example.py')
-rwxr-xr-xexample.py4
1 files changed, 2 insertions, 2 deletions
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())