Skip to content

Commit

Permalink
fixed pep8 errors
Browse files Browse the repository at this point in the history
```
flake8 geonode
geonode/base/models.py:1361:5: E301 expected 1 blank line, found 0
geonode/base/models.py:1422:1: W293 blank line contains whitespace
```
are fixed
  • Loading branch information
gannebamm committed Nov 5, 2019
1 parent 6092957 commit 1049179
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geonode/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,7 @@ class MenuPlaceholder(models.Model):
blank=False,
unique=True
)

def __unicode__(self):
return u"{0}".format(self.name)

Expand Down Expand Up @@ -1419,7 +1420,7 @@ class MenuItem(models.Model):

def __unicode__(self):
return u"{0}".format(self.title)

def __str__(self):
return self.title

Expand Down

0 comments on commit 1049179

Please sign in to comment.