cloudbase / PyMI

A blazing fast replacement for the Python WMI module
Apache License 2.0
21 stars 14 forks source link

Provide a reference to the previous instance in case of events #13

Closed petrutlucian94 closed 8 years ago

petrutlucian94 commented 8 years ago

When retrieving instance events, the old WMI library provides the previous instance state as well, when available.

This patch ensures we set this attribute as well, maintaining compatibility with the old library.