Skip to content

Commit

Permalink
Make snippets PEP 8 compliant (http://www.python.org/dev/peps/pep-0008/
Browse files Browse the repository at this point in the history
…).
  • Loading branch information
Fidel Ramos committed Sep 30, 2011
1 parent eccc6d4 commit 69f136a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snippets/python-mode/model
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ class ${1:ClassName}(models.Model):
"""
$3

def __unicode__( self ):
def __unicode__(self):
return self
2 changes: 1 addition & 1 deletion snippets/python-mode/modelform
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# key: mform
# contributor: David Miller <david@deadpansinceity.com>
# --
class ${1:ClassName}Form( ModelForm ):
class ${1:ClassName}Form(ModelForm):
$0

class Meta:
Expand Down

0 comments on commit 69f136a

Please sign in to comment.