Skip to content

Commit

Permalink
oracle_profile: Bugfix for Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed May 29, 2021
1 parent 44a3ecd commit e86e95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracle_profile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def ensure_profile_state(cursor, module, msg, name, state, attribute_name, attri
current_attributes = get_current_attributes (cursor, module, msg, name, attribute_names_)

# Convert to dict and compare current with wanted
if cmp(dict(current_attributes),dict(wanted_attributes)) is not 0:
if dict(current_attributes) != dict(wanted_attributes):
for i in wanted_attributes:
total_sql.append("alter profile %s limit %s %s " % (name, i[0], i[1]))

Expand Down

0 comments on commit e86e95e

Please sign in to comment.