Skip to content

Commit

Permalink
Use new-style classes
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser authored and mikaelarguedas committed Apr 26, 2018
1 parent 6355fb1 commit d3ed393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dynamic_reconfigure/parameter_generator_catkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def check_name(name):
raise Exception("The name of field \'%s\' does not follow the ROS naming conventions, see http://wiki.ros.org/ROS/Patterns/Conventions" % name)


class ParameterGenerator:
class ParameterGenerator(object):
minval = {
'int': -0x80000000, # 'INT_MIN',
'double': '-std::numeric_limits<double>::infinity()',
Expand All @@ -97,7 +97,7 @@ class ParameterGenerator:
'bool': False,
}

class Group:
class Group(object):
instances = {}

def __init__(self, gen, name, type, state, id, parent):
Expand Down

0 comments on commit d3ed393

Please sign in to comment.