Skip to content

Commit

Permalink
Fix typo in natural_key()
Browse files Browse the repository at this point in the history
  • Loading branch information
pep-un authored Jan 3, 2024
1 parent 9c0fc76 commit 6abf787
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conformity/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __str__(self):
return str(self.name)

def natural_key(self):
return self.name
return (self.name)

def get_type(self):
"""return the readable version of the Policy Type"""
Expand Down Expand Up @@ -99,7 +99,7 @@ def __str__(self):
return str(self.name)

def natural_key(self):
return self.name
return (self.name)

@staticmethod
def get_absolute_url():
Expand Down Expand Up @@ -155,7 +155,7 @@ def __str__(self):
return str(self.name) + ": " + str(self.title)

def natural_key(self):
return self.name
return (self.name)

natural_key.dependencies = ['conformity.policy']

Expand Down

0 comments on commit 6abf787

Please sign in to comment.