Skip to content

Commit fc1512a

Browse files
author
anon
committed
update docstring
1 parent a5c2da9 commit fc1512a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

qubesadmin/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ def _parse_type_value(self, prop_type: bytes, value: bytes) -> VMProperty:
285285
Parse `type=... ...` qubesd response format. Return a value of
286286
appropriate type.
287287
288+
Returns AttributeError instead of ValueError since this used
289+
to access named field <prop_type>
290+
288291
:param bytes prop_type: 'type=...' part of the response (including
289292
`type=` prefix)
290293
:param bytes value: 'value' part of the response

0 commit comments

Comments
 (0)