summaryrefslogtreecommitdiffstats
path: root/examples/dmidump.py
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-03-31 11:37:58 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-03-31 11:37:58 +0000
commit37d1a8117cd212ee9e47bbd4225ba76dece7dad7 (patch)
treef5817d1780670702c0f92c32bd62de53d68b3d36 /examples/dmidump.py
parent17cfe3a41998c075991a54a6deace28ba7744ed6 (diff)
downloadpython-dmidecode-37d1a8117cd212ee9e47bbd4225ba76dece7dad7.tar.gz
python-dmidecode-37d1a8117cd212ee9e47bbd4225ba76dece7dad7.tar.xz
python-dmidecode-37d1a8117cd212ee9e47bbd4225ba76dece7dad7.zip
Preparing to migrate to GIT.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@179 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'examples/dmidump.py')
-rwxr-xr-xexamples/dmidump.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/dmidump.py b/examples/dmidump.py
deleted file mode 100755
index 161da44..0000000
--- a/examples/dmidump.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python2.4
-import dmidecode
-import sys
-from pprint import pprint
-
-#. Test reading the dump...
-print "*** bios ***\n"; pprint(dmidecode.bios())
-print "*** system ***\n"; pprint(dmidecode.system())
-print "*** system ***\n"; pprint(dmidecode.system())
-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 "*** cache ***\n"; pprint(dmidecode.cache())
-print "*** connector ***\n"; pprint(dmidecode.connector())
-print "*** slot ***\n"; pprint(dmidecode.slot())
-
-_=[dmidecode.type(_) and pprint(dmidecode.type(_)) for _ in range(1,128)]