equal
deleted
inserted
replaced
509 'relocated']: |
509 'relocated']: |
510 raise VMMError(_(u"Invalid argument: '%s'") % details, |
510 raise VMMError(_(u"Invalid argument: '%s'") % details, |
511 INVALID_ARGUMENT) |
511 INVALID_ARGUMENT) |
512 dom = self._get_domain(domainname) |
512 dom = self._get_domain(domainname) |
513 dominfo = dom.get_info() |
513 dominfo = dom.get_info() |
514 if dominfo['domainname'].startswith('xn--'): |
514 if dominfo['domain name'].startswith('xn--'): |
515 dominfo['domainname'] += ' (%s)' % \ |
515 dominfo['domain name'] += ' (%s)' % \ |
516 dominfo['domainname'].decode('idna') |
516 dominfo['domain name'].decode('idna') |
517 if details is None: |
517 if details is None: |
518 return dominfo |
518 return dominfo |
519 elif details == 'accounts': |
519 elif details == 'accounts': |
520 return (dominfo, dom.get_accounts()) |
520 return (dominfo, dom.get_accounts()) |
521 elif details == 'aliasdomains': |
521 elif details == 'aliasdomains': |