Fix the call that determines if an organization has enough private repositories.
This commit is contained in:
parent
ac72a8d86d
commit
296695cb87
2 changed files with 18 additions and 22 deletions
|
@ -269,7 +269,7 @@ def get_user_organizations(username):
|
|||
|
||||
def get_organization(name):
|
||||
try:
|
||||
return User.get(username = name, organization = True)
|
||||
return User.get(username=name, organization=True)
|
||||
except User.DoesNotExist:
|
||||
raise InvalidOrganizationException('Organization does not exist: %s' %
|
||||
name)
|
||||
|
|
Reference in a new issue