예제 #1
0
 def getError(self):
     if self.i18nKey:
         error = _AdminCommandI18nError(self.i18nKey, self.args)
     else:
         error = _SimpleAdminCommandError(self.id, self.args)
     return error
예제 #2
0
 def getError(self):
     if self.i18nKey:
         error = _AdminCommandI18nError(self.i18nKey, self.args)
     else:
         error = _SimpleAdminCommandError(self.id, self.args)
     return error