~ubuntu-branches/ubuntu/wily/pyzmq/wily

« back to all changes in this revision

Viewing changes to examples/pubsub/topics_pub.py

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-02-24 19:23:15 UTC
  • mfrom: (1.2.1) (9 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20130224192315-qhmwp3m3ymk8r60d
Tags: 2.2.0.1-1
* New upstream release
* relicense debian packaging to LGPL-3
* update watch file to use github directly
  thanks to Bart Martens for the file
* add autopkgtests
* drop obsolete DM-Upload-Allowed
* bump standard to 3.9.4, no changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
catch 'weather'.
11
11
"""
12
12
 
13
 
#
14
 
#    Copyright (c) 2010 Brian E. Granger, Fernando Perez
15
 
#
16
 
#    This file is part of pyzmq.
17
 
#
18
 
#    pyzmq is free software; you can redistribute it and/or modify it under
19
 
#    the terms of the Lesser GNU General Public License as published by
20
 
#    the Free Software Foundation; either version 3 of the License, or
21
 
#    (at your option) any later version.
22
 
#
23
 
#    pyzmq is distributed in the hope that it will be useful,
24
 
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
25
 
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
 
#    Lesser GNU General Public License for more details.
27
 
#
28
 
#    You should have received a copy of the Lesser GNU General Public License
29
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
13
#-----------------------------------------------------------------------------
 
14
#  Copyright (c) 2010 Brian Granger
 
15
#
 
16
#  Distributed under the terms of the New BSD License.  The full license is in
 
17
#  the file COPYING.BSD, distributed as part of this software.
 
18
#-----------------------------------------------------------------------------
30
19
 
31
20
import itertools
32
21
import sys