- 21 Mar, 2016 1 commit
-
-
Alessandro Pilotti authored
Provide a reference to the previous instance in case of events
-
- 18 Mar, 2016 1 commit
-
-
Lucian Petrut authored
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.
-
- 10 Mar, 2016 2 commits
-
-
Alessandro Pilotti authored
Fixes compatibility with the WMI module
-
Alin Balutoiu authored
Currently, in the case of association classes, PyMI returns only the references to the associated objects as strings, while WMI converts them and returns the objects. This patch changes the behaviour of PyMI in case of association classes by returning the objects as WMI does.
-
- 09 Mar, 2016 2 commits
-
-
Alessandro Pilotti authored
Removes unnecessary try-except
-
Alin Balutoiu authored
The try-except isn't needed anymore since there is already the mi_to_wmi_exception wrapper which takes care of the error handling. This also fixes a compatibility issue with the old WMI in the way errors are handled. The old WMI is raising an exception in this case while PyMI is ignoring the exception and returns None.
-
- 07 Mar, 2016 5 commits
-
-
Alessandro Pilotti authored
Adds support for DestinationOptions when creating a session
-
Alin Balutoiu authored
-
Alin Balutoiu authored
-
Alin Balutoiu authored
-
Alessandro Pilotti authored
Normalize line endings to Unix style
-
- 02 Mar, 2016 1 commit
-
-
Alin Balutoiu authored
-
- 15 Feb, 2016 2 commits
-
-
Alessandro Pilotti authored
Fixes get_class when the class has no attributes
-
Alin Balutoiu authored
Doing "if cls:" will return False in the case in which the class has no attributes. The class implements the method __len__() which returns the number of class attributes and which is also used to test the truth value of "if cls:". In the case in which the class has only methods the truth value will be False even if the object exists. It is enough to compare only the reference of cls with None.
-
- 20 Jan, 2016 1 commit
-
-
Alessandro Pilotti authored
Adds watch_for in the Connection class
-
- 18 Jan, 2016 4 commits
-
-
Alessandro Pilotti authored
_get_method_params is supposed to return a unique Object in which a method's parameters are mapped. The issue is that it always returns the same object, which can be modified by multiple threads, leading to erroneous method calls. Method now returns a cloned object.
-
Alessandro Pilotti authored
This reverts commit 2403e01b.
-
Alessandro Pilotti authored
wmi: Makes _get_method_params thread safe
-
Claudiu Belu authored
_get_method_params is supposed to return a unique Object in which a method's parameters are mapped. The issue is that it always returns the same object, which can be modified by multiple threads, leading to erroneous method calls. Method now returns a cloned object.
-
- 14 Jan, 2016 1 commit
-
-
Alessandro Pilotti authored
-
- 12 Jan, 2016 1 commit
-
-
Claudiu Belu authored
The watch_for method is missing from the Connection class. It is needed for maintaining a consistent interface with wmi.
-
- 06 Jan, 2016 2 commits
-
-
-
Alessandro Pilotti authored
-
- 30 Dec, 2015 2 commits
-
-
Alessandro Pilotti authored
Update com error excepinfo
-
Lucian Petrut authored
-
- 29 Dec, 2015 8 commits
-
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
- 28 Dec, 2015 7 commits
-
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-
Alessandro Pilotti authored
-