コード例 #1
0
 def at_cmdset_creation(self):
     """
     Populates the cmdset
     """
     super(UnloggedinCmdSet, self).at_cmdset_creation()
     # any commands you add below will overload the default ones.
     self.add(prelogin.CmdWhoUs())
コード例 #2
0
ファイル: default_cmdsets.py プロジェクト: shaiabit/NowPina
 def at_cmdset_creation(self):
     """Populates the DefaultUnloggedin cmdset"""
     super(UnloggedinCmdSet, self).at_cmdset_creation()
     self.add(prelogin.CmdWhoUs())
     self.add(prelogin.CmdUnconnectedEncoding())
     self.add(prelogin.CmdUnconnectedConnect())
     self.add(prelogin.CmdUnconnectedCreate())
     self.add(prelogin.CmdUnconnectedQuit())
     self.add(prelogin.CmdUnconnectedLook())
     self.add(prelogin.CmdUnconnectedAbout())
     self.add(prelogin.CmdUnconnectedHelp())
     self.add(prelogin.CmdUnconnectedScreenreader())