summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Port to Python 3 while maintaining compatibility with Python >= 2.6Slavek Kabrda2015-02-031-54/+54
| | | | Signed-off-by: David Sommerseth <davids@redhat.com>
* Removed not needed duplicationDavid Sommerseth2010-03-041-4/+0
|
* Clarify one comment, where API presence is tested.David Sommerseth2010-03-041-1/+5
|
* Updated examples/dmidump.py to be more up-to-date against a lot of new featuresDavid Sommerseth2010-03-021-39/+164
| | | | | | | | Rewrote bigger parts to be more intelligent, checking for warnings on the way. Added more warnings if script is run as a non-root user, and made it work as non-root user if a dmidata.dump file exists (created when run as root). Added examples with the XML API as well.
* Any Python version should doNima Talebi2009-12-141-1/+1
|
* Expanding the test case to include the POC demoNima Talebi2009-05-231-173/+0
| | | | | | The POC demo does not actually do much testing yet, other than just working or not working - but it's in place now for future enhancements.
* Cleanup of test caseNima Talebi2009-05-231-37/+43
|
* More work on test caseNima Talebi2009-05-231-30/+49
|
* Completed test caseNima Talebi2009-05-231-27/+38
| | | | | | | Removed trailing spaces from xml data file. Commented out fprintf()s for now (Perhapse should add them to the debug build at least).
* More cleanupNima Talebi2009-05-231-29/+54
| | | | | | | | | Don't write to stdout unless in debug mode (with respect to writing to memory devices. Added the xml datafile to setup (distutils). Updated test case (incorporating color and cleaning up tests).
* GPLv3 changed to GPLv2Nima Talebi2009-05-231-1/+37
| | | | Also preparing/cleaning-up example/test-case script.
* Reverting recent (pointless) change.nima2009-03-312-0/+130
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@180 abc39116-655e-4be6-ad55-d661dc543056
* Preparing to migrate to GIT.nima2009-03-312-130/+0
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@179 abc39116-655e-4be6-ad55-d661dc543056
* A more complete dmidecode example.nima2008-12-221-5/+1
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@165 abc39116-655e-4be6-ad55-d661dc543056
* Cleaned up the fix for type(127).nima2008-12-221-1/+10
| | | | | | | | | Added the second type of stuffed bios (upstream). Integrated dmidecode the binary into the test case for a more objective result. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@163 abc39116-655e-4be6-ad55-d661dc543056
* Fixed sample.nima2008-12-211-33/+1
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@159 abc39116-655e-4be6-ad55-d661dc543056
* Cleanup copyright.nima2008-12-211-0/+103
| | | | | | | | | Cleanup debian/rules. Adding test.py to examples. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@158 abc39116-655e-4be6-ad55-d661dc543056
* The dmidecode.type() call not takes ints, not strings.nima2008-12-181-0/+54
Adding an example directory. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@115 abc39116-655e-4be6-ad55-d661dc543056