changeset:   6713:fecd25da3804
tag:         tip
user:        Anders Widell <[email protected]>
date:        Mon Aug 10 16:06:51 2015 +0200
summary:     pyosaf: Fix build problem introduced in 6709:7a6b4f3f3451 [#1434]

[staging:fecd25]


---

** [tickets:#1434] pyosaf: Add wrapped functions with automatic retries and 
exceptions for raw SAF functions**

**Status:** fixed
**Milestone:** 4.7-Tentative
**Created:** Wed Aug 05, 2015 09:26 AM UTC by Johan Mårtensson
**Last Updated:** Mon Aug 10, 2015 11:05 AM UTC
**Owner:** Johan Mårtensson


The SAF functions need to be called in a retry loop to handle timeouts 
properly. This is done inconsistently in the higher level Python bindings 
(pyosaf/utils). They also return errors as ints while the code in pyosaf/utils 
changes this to throw exceptions. 

This should be handled consistently by decorating the raw functions with retry 
logic and raising of exceptions on failure.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to