Ack, Mathi. ----- [email protected] wrote:
> Ack from me. > Not tested. > > /AndersBJ > > -----Original Message----- > From: Johan Mårtensson O > Sent: den 8 juli 2015 11:46 > To: Hans Nordebäck; Anders Björnerstedt; [email protected] > Cc: [email protected] > Subject: [PATCH 1 of 1] pyosaf: Add missing import of > 'SaImmAdminOwnerHandleT' in saImmOi.py #1404 > > python/pyosaf/saImmOi.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > Verifying the Python bindings with pychecker showed that the > SaImmAdminOwnerHandleT is used in saImmOi.py without being imported. > > pychecker --only $(find . -name 'saImmOi.py') > > ... > > python/pyosaf/saImmOi.py:425: No global (SaImmAdminOwnerHandleT) > found > > This is most likely because SaImmAdminOwnerHandleT is defined in > saImmOm.py. This patch adds the missing import. > > diff --git a/python/pyosaf/saImmOi.py b/python/pyosaf/saImmOi.py > --- a/python/pyosaf/saImmOi.py > +++ b/python/pyosaf/saImmOi.py > @@ -18,7 +18,7 @@ > from ctypes import * > from saImm import * > from saAis import * > -from saImmOm import SaImmCcbHandleT > +from saImmOm import SaImmCcbHandleT, SaImmAdminOwnerHandleT > > oidll = CDLL('libSaImmOi.so.0') ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
