PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned.

This commit is contained in:
Griatch 2013-11-14 19:31:17 +01:00
parent 30b7d2a405
commit 1ae17bcbe4
154 changed files with 5613 additions and 4054 deletions

View file

@ -4,11 +4,12 @@ The managers for the custom Player object and permissions.
import datetime
from django.contrib.auth.models import UserManager
from functools import update_wrapper
#from functools import update_wrapper
from src.typeclasses.managers import returns_typeclass_list, returns_typeclass, TypedObjectManager
from src.utils import logger
#from src.utils import logger
__all__ = ("PlayerManager",)
#
# Player Manager
#
@ -118,8 +119,8 @@ class PlayerManager(TypedObjectManager, UserManager):
def swap_character(self, player, new_character, delete_old_character=False):
"""
This disconnects a player from the current character (if any) and connects
to a new character object.
This disconnects a player from the current character (if any) and
connects to a new character object.
"""