<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def import_repo(self, repo_id, fileobj):
        '''
        Imports a repository package using the repository ID specified.
        '''
        # Step 1, lets upload the file
        filename = self.upload(fileobj).json()['response']['filename']

        # Step 2, lets tell SecurityCenter what to do with the file
        return self.post('repository/{}/import'.format(repo_id), json={'file': filename})