qubes: minor fix

This commit is contained in:
Wojtek Porczyk 2015-06-24 15:45:19 +02:00
parent 7886695c63
commit 7832f23d5d

View File

@ -976,7 +976,7 @@ class PropertyHolder(qubes.events.Emitter):
if :py:obj:`False`, log warning instead
'''
if isinstance(qubes.property, prop):
if isinstance(prop, qubes.property):
prop = prop.__name__
try: