Commit Graph

14 Commits

Author SHA1 Message Date
Dionisio E Alonso 5721c1b273 Delete diskette drive letters from device list
The device list was generated from the complete uppercase alphabet.
Diskette letters A and B doesn't need to be tested, so the new list
starts from letter C.
2015-04-15 18:27:08 -03:00
Dionisio E Alonso cee144f27a Add method to print values to stdout
Added __str__ method to SystemInformation class.
2015-04-09 17:45:11 -03:00
Dionisio E Alonso cf10b7d2b5 Rename some variables to fix codding-style 2015-04-09 17:35:21 -03:00
Dionisio E Alonso a9269dd622 Rewrite of data saving and storing
Moved all the output formatting strings to the save method of class
SystemInformation. Now data stored in class members are the raw output of class
methods.
2015-04-09 16:47:04 -03:00
Dionisio E Alonso 8b3c471361 Better error handling using exceptions by name 2015-04-09 16:26:48 -03:00
Dionisio E Alonso 271fffee79 Roll back in the way to probe video devices
The older way to probe if a device was a hardware device works in most of the
cases.
2015-04-09 13:28:55 -03:00
Dionisio E Alonso 81b05434f7 Fix in the gathering of video adapter information
Some video adapters do not have registry key "Device Description", instead most
of them have the key "DriveDesc" set. Added test for both keys before failing.
2015-04-09 03:45:06 -03:00
Dionisio E Alonso ddb57b267e Minor change in gathering of registry keys for devices
Instead of appending keys into a list and then convert it into a set, keys are
stored directly into a set.
2015-04-09 01:59:09 -03:00
Dionisio E Alonso 138debf112 Change the way to probe if a device is a hardware device or not 2015-04-09 01:54:58 -03:00
Dionisio E Alonso e3be7d8303 Roll back in video devices detection
The different numbers 0000, 0001 following the device hash key are video
outputs. The device is the same and should not be duplicated.
2015-04-08 19:35:45 -03:00
Dionisio E Alonso 911495fdfa Fix in video devices registry keys request
Also treated keys as sets to avoid duplicated hardware.
2015-04-08 13:02:38 -03:00
Dionisio E Alonso 0203e53bd9 Correct exception generated when no service pack is present 2015-04-08 11:57:56 -03:00
Dionisio E Alonso 8b23c6d977 Stripped CPU string from white-spaces around 2015-04-08 09:46:56 -03:00
Dionisio E Alonso efea2b5161 Initial commit 2015-04-08 09:18:28 -03:00