class LogUtil:
    def __init__(self):
        """
        Initiate Log Util.
        This Class contains utilities for helping with Logging

        """

        self.META_AE_IP = 'HTTP_X_APPENGINE_USER_IP'
        self.FORWARDED_FOR = 'HTTP_X_FORWARDED_FOR'

        print('{} - Initialized'.format(__name__))

    def get_ip(self, request):
        """
        Get Ip from request

        :param request: Http Request Object
        :return: Ip of the player connected
        """

        return request.META.get(self.META_AE_IP) \
            if self.META_AE_IP in request.META else request.META.get(self.FORWARDED_FOR)

0a45ac8d436f16359163b89b9ad21a855c5d4b3f
<mask token>

class LogUtil:
    <mask token>
    <mask token>

class LogUtil:

    def __init__(self):
        """
        Initiate Log Util.
        This Class contains utilities for helping with Logging

        """
        self.META_AE_IP = 'HTTP_X_APPENGINE_USER_IP'
        self.FORWARDED_FOR = 'HTTP_X_FORWARDED_FOR'
        print('{} - Initialized'.format(__name__))
    <mask token>

class LogUtil:

    def __init__(self):
        """
        Initiate Log Util.
        This Class contains utilities for helping with Logging

        """
        self.META_AE_IP = 'HTTP_X_APPENGINE_USER_IP'
        self.FORWARDED_FOR = 'HTTP_X_FORWARDED_FOR'
        print('{} - Initialized'.format(__name__))

    def get_ip(self, request):
        """
        Get Ip from request

        :param request: Http Request Object
        :return: Ip of the player connected
        """
        return request.META.get(self.META_AE_IP
            ) if self.META_AE_IP in request.META else request.META.get(self
            .FORWARDED_FOR)

class LogUtil:
    def __init__(self):
        """
        Initiate Log Util.
        This Class contains utilities for helping with Logging

        """

        self.META_AE_IP = 'HTTP_X_APPENGINE_USER_IP'
        self.FORWARDED_FOR = 'HTTP_X_FORWARDED_FOR'

        print('{} - Initialized'.format(__name__))

    def get_ip(self, request):
        """
        Get Ip from request

        :param request: Http Request Object
        :return: Ip of the player connected
        """

        return request.META.get(self.META_AE_IP) \
            if self.META_AE_IP in request.META else request.META.get(self.FORWARDED_FOR)
