VirtualMailManager/cli/handler.py
branchv0.6.x
changeset 341 6709d0faf2f5
parent 339 abff2de9eed0
child 346 95d45e4ec1a6
equal deleted inserted replaced
340:4515afec62e5 341:6709d0faf2f5
    63         if section is None:
    63         if section is None:
    64             self._cfg.configure(self._cfg.sections())
    64             self._cfg.configure(self._cfg.sections())
    65         elif self._cfg.has_section(section):
    65         elif self._cfg.has_section(section):
    66             self._cfg.configure([section])
    66             self._cfg.configure([section])
    67         else:
    67         else:
    68             raise VMMError(_(u'Invalid section: ā€œ%sā€') % section,
    68             raise VMMError(_(u"Invalid section: '%s'") % section,
    69                            INVALID_SECTION)
    69                            INVALID_SECTION)
    70 
    70 
    71     def user_add(self, emailaddress, password=None):
    71     def user_add(self, emailaddress, password=None):
    72         """Override the parent user_add() - add the interactive password
    72         """Override the parent user_add() - add the interactive password
    73         dialog."""
    73         dialog."""