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

« back to all changes in this revision

Viewing changes to omniidl_be/python.py

  • 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
# python.py                 Created on: 1999/10/29
4
4
#                           Author    : Duncan Grisby (dpg1)
5
5
#
 
6
#    Copyright (C) 2002-2008 Apasphere Ltd
6
7
#    Copyright (C) 1999 AT&T Laboratories Cambridge
7
8
#
8
9
#  This file is part of omniidl.
26
27
#   
27
28
#   Back-end for Python
28
29
 
29
 
# $Id: python.py,v 1.33.2.14 2008/02/01 16:29:17 dgrisby Exp $
30
 
# $Log: python.py,v $
 
30
# $Id: python.py 5926 2009-10-07 16:25:38Z dgrisby $
 
31
# $Log$
31
32
# Revision 1.33.2.14  2008/02/01 16:29:17  dgrisby
32
33
# Error with implementation of operations with names clashing with
33
34
# Python keywords.
989
990
 
990
991
        if node.mainFile() or output_inline:
991
992
            exported_modules[sname] = 1
 
993
            if parentmodname == self.outpymodule:
 
994
                end_package = ""
 
995
            else:
 
996
                end_package = module_package
 
997
 
992
998
            self.st.out(module_end, modname=parentmodname, sname=sname,
993
 
                        package=module_package)
 
999
                        package=end_package)
994
1000
 
995
1001
    #
996
1002
    # Forward interface