Codebase list ros-genpy / b407907
Imported Upstream version 0.5.6 Jochen Sprickerhof 8 years ago
3 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package genpy
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 0.5.6 (2015-10-12)
5 ------------------
6 * fix handling of dynamic message classes with names containing other message classes as substrings (`#40 <https://github.com/ros/genpy/pull/40>`_)
37
48 0.5.5 (2015-09-19)
59 ------------------
00 <?xml version="1.0"?>
11 <package>
22 <name>genpy</name>
3 <version>0.5.5</version>
3 <version>0.5.6</version>
44 <description>Python ROS message and service generators.</description>
55 <maintainer email="dthomas@osrfoundation.org">Dirk Thomas</maintainer>
66 <license>BSD</license>
4242
4343 import atexit
4444 import os
45 import re
4546 import shutil
4647 import sys
4748 import tempfile
9394 # - remove any import statements
9495 py_text = py_text.replace("import %s.msg"%pkg, '')
9596 # - rewrite any references to class
96 py_text = py_text.replace("%s.msg.%s"%(pkg, base_type), gen_name)
97 py_text = re.sub("(?<!\w)%s\.msg\.%s(?!\w)"%(pkg, base_type), gen_name, py_text)
9798
9899 pkg, base_type = genmsg.package_resource_name(current_type)
99100 gen_name = _gen_dyn_name(pkg, base_type)