Browse Source

reformat docstrings

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
1846d027ec
  1. 4
      pyweb/mumble/models.py

4
pyweb/mumble/models.py

@ -80,8 +80,7 @@ class Mumble( models.Model ):
return u'Murmur "%s" (%d)' % ( self.name, self.srvid ); return u'Murmur "%s" (%d)' % ( self.name, self.srvid );
def save( self, dontConfigureMurmur=False ): def save( self, dontConfigureMurmur=False ):
"""
Save the options configured in this model instance not only to Django's database,
""" Save the options configured in this model instance not only to Django's database,
but to Murmur as well. but to Murmur as well.
""" """
if dontConfigureMurmur: if dontConfigureMurmur:
@ -493,6 +492,7 @@ class MumbleUser( models.Model ):
comment = property( getComment, doc=getComment.__doc__ ); comment = property( getComment, doc=getComment.__doc__ );
def getHash( self ): def getHash( self ):
""" Retrieve a user's hash, if any. """
if "hash" in self.registration: if "hash" in self.registration:
return self.registration["hash"]; return self.registration["hash"];
else: else:

Loading…
Cancel
Save