~ubuntu-branches/ubuntu/trusty/python-omniorb/trusty

« back to all changes in this revision

Viewing changes to modules/pyLocalObjects.cc

  • Committer: Bazaar Package Importer
  • Author(s): Floris Bruynooghe
  • Date: 2011-05-01 12:42:50 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110501124250-zgkxrv9bqoy7bzm2
Tags: 3.5-2
* debian/omniidl-python.install: fix bug exposed by python2.5
  removal (thanks Jakub Wilk for patch) (closes: #624740)
* debian/control: bump standards version to 3.9.2, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
// pyLocalObjects.cc          Created on: 2005/10/20
4
4
//                            Author    : Duncan Grisby (dgrisby)
5
5
//
6
 
//    Copyright (C) 2005 Apasphere Ltd.
 
6
//    Copyright (C) 2005-2008 Apasphere Ltd.
7
7
//    Copyright (C) 1999 AT&T Laboratories Cambridge
8
8
//
9
9
//    This file is part of the omniORBpy library
28
28
// Description:
29
29
//    Implementation of Python servant object
30
30
 
31
 
// $Id: pyLocalObjects.cc,v 1.1.2.1 2005/11/09 12:33:32 dgrisby Exp $
 
31
// $Id: pyLocalObjects.cc 5868 2009-05-06 16:50:31Z dgrisby $
32
32
 
33
 
// $Log: pyLocalObjects.cc,v $
 
33
// $Log$
 
34
// Revision 1.1.2.2  2008/10/09 15:04:36  dgrisby
 
35
// Python exceptions occurring during unmarshalling were not properly
 
36
// handled. Exception state left set when at traceLevel 0 (thanks
 
37
// Morarenko Kirill).
 
38
//
34
39
// Revision 1.1.2.1  2005/11/09 12:33:32  dgrisby
35
40
// Support POA LocalObjects.
36
41
//
418
423
      erepoId = PyObject_GetAttrString(evalue, (char*)"_NP_RepositoryId");
419
424
 
420
425
    if (!(erepoId && PyString_Check(erepoId))) {
 
426
      PyErr_Clear();
421
427
      Py_XDECREF(erepoId);
422
428
      if (omniORB::trace(1)) {
423
429
        {
590
596
      erepoId = PyObject_GetAttrString(evalue, (char*)"_NP_RepositoryId");
591
597
 
592
598
    if (!(erepoId && PyString_Check(erepoId))) {
 
599
      PyErr_Clear();
593
600
      Py_XDECREF(erepoId);
594
601
      if (omniORB::trace(1)) {
595
602
        {