removed code for imported dbs from partner_subaccount and pep8 compliance