Skip to content

Commit

Permalink
don't spit blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelarguedas committed Apr 11, 2017
1 parent 2fe117b commit eefc615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosidl_parser/rosidl_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class BaseType(object):
def __init__(self, type_string, context_package_name=None):
# check for primitive types
if type_string in DEPRECATED_TYPES.keys():
print("'%s' is DEPRECATED, it will be remapped to '%s'\n" %
print("WARNING: '%s' is DEPRECATED, it will be remapped to '%s'" %
(type_string, DEPRECATED_TYPES[type_string]))
print("please use the equivalent primitive type '%s'\n" % (
DEPRECATED_TYPES[type_string]))
Expand Down Expand Up @@ -298,7 +298,7 @@ def __init__(self, primitive_type, name, value_string):
if value_string is None:
raise ValueError("the constant value must not be 'None'")
if primitive_type in DEPRECATED_TYPES.keys():
print("'%s' is DEPRECATED, it will be remapped to '%s'\n" %
print("WARNING '%s' is DEPRECATED, it will be remapped to '%s'" %
(primitive_type, DEPRECATED_TYPES[primitive_type]))
print("please use the equivalent primitive type '%s'\n" % (
DEPRECATED_TYPES[primitive_type]))
Expand Down

0 comments on commit eefc615

Please sign in to comment.