VirtualMailManager/VirtualMailManager.py
changeset 44 c9ab6900ede9
parent 40 ab0748a5da9a
child 45 9e66138aad0b
equal deleted inserted replaced
43:92a6132940f5 44:c9ab6900ede9
   498         if dominfo['aliases'] is None:
   498         if dominfo['aliases'] is None:
   499             dominfo['aliases'] = 0
   499             dominfo['aliases'] = 0
   500         if detailed is None:
   500         if detailed is None:
   501             return dominfo
   501             return dominfo
   502         elif detailed == 'detailed':
   502         elif detailed == 'detailed':
   503             return dominfo, dom.getAccounts(), dom.getAliases()
   503             return (dominfo, dom.getAliaseNames(), dom.getAccounts(),
       
   504                     dom.getAliases())
   504         else:
   505         else:
   505             raise VMMDomainException(("%s: '%s'" % (_('Invalid argument'),
   506             raise VMMDomainException(("%s: '%s'" % (_('Invalid argument'),
   506                 detailed),  ERR.INVALID_OPTION))
   507                 detailed),  ERR.INVALID_OPTION))
   507 
   508 
   508     def domain_list(self, pattern=None):
   509     def domain_list(self, pattern=None):