perceval/backends/core/github.py
def __get_user(self, login):
        """Get user and org data for the login"""

        user = {}

        if not login:
            return user

        user_raw = self.client.user(login)
        user = json.loads(user_raw)
        user_orgs_raw = \
            self.client.user_orgs(login)
        user['organizations'] = json.loads(user_orgs_raw)

        return user
def __get_user(self, login):
        """Get user and org data for the login"""

        user = {}

        if not login:
            return user

        user_raw = self.client.user(login)
        user = json.loads(user_raw)
        user_orgs_raw = \
            self.client.user_orgs(login)
        user['organizations'] = json.loads(user_orgs_raw)

        return user
def __get_user ( self , login ) : user = { } if not login : return user user_raw = self . client . user ( login ) user = json . loads ( user_raw ) user_orgs_raw = self . client . user_orgs ( login ) user [ 'organizations' ] = json . loads ( user_orgs_raw ) return user
Get user and org data for the login
Get user and org data for the login