예제 #1
0
 def block_command(self, line):
     if line == "mv basket/apple":
         hint = _("{{gb:Nearly! The full command is}} {{yb:mv basket/apple ./}} {{gb:- don't forget the dot!}}")
         self.send_hint(hint)
         return True
     else:
         return unblock_commands(line, self.commands)
예제 #2
0
 def block_command(self):
     if self.last_user_input == "mv basket/apple":
         hint = _("{{gb:Nearly! The full command is}} {{yb:mv basket/apple ./}} {{gb:- don't forget the dot!}}")
         self.send_hint(hint)
         return True
     else:
         return unblock_commands(self.last_user_input, self.commands)
예제 #3
0
 def block_command(self, line):
     if line == "mv basket/apple":
         hint = _(
             "{{gb:Nearly! The full command is}} {{yb:mv basket/apple ./}} {{gb:- don't forget the dot!}}"
         )
         self.send_hint(hint)
         return True
     else:
         return unblock_commands(line, self.commands)
예제 #4
0
 def block_command(self):
     if self.last_user_input == "mv cestino/cestino":
         hint = (
             "{{gb:Quasi! Il comando giusto è}} "
             "{{yb:mv cestino/mela ./}} {{gb:- non dimenticare il punto!}}"
         )
         self.send_hint(hint)
         return True
     else:
         return unblock_commands(self.last_user_input, self.commands)
예제 #5
0
 def block_command(self):
     if self.last_user_input == "mv basket/apple":
         hint = (
             "{{gb:Nearly!  The full command is}} "
             "{{yb:mv basket/apple ./}} {{gb:- don't forget the dot!}}"
         )
         self.send_hint(hint)
         return True
     else:
         return unblock_commands(self.last_user_input, self.commands)
예제 #6
0
 def block_command(self, line):
     return unblock_commands(line, self.commands)
예제 #7
0
 def block_command(self):
     return unblock_commands(self.last_user_input, self.commands)
예제 #8
0
 def block_command(self):
     return unblock_commands(self.last_user_input, self.commands)
예제 #9
0
 def block_command(self, line):
     return unblock_commands(line, self.commands)
예제 #10
0
 def block_command(self, last_user_input):
     # default behaviour
     return unblock_commands(last_user_input, self.commands)
예제 #11
0
 def block_command(self, last_user_input):
     # default behaviour
     return unblock_commands(last_user_input, self.commands)