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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
 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)
Beispiel #6
0
 def block_command(self, line):
     return unblock_commands(line, self.commands)
Beispiel #7
0
 def block_command(self):
     return unblock_commands(self.last_user_input, self.commands)
Beispiel #8
0
 def block_command(self):
     return unblock_commands(self.last_user_input, self.commands)
 def block_command(self, line):
     return unblock_commands(line, self.commands)
Beispiel #10
0
 def block_command(self, last_user_input):
     # default behaviour
     return unblock_commands(last_user_input, self.commands)
 def block_command(self, last_user_input):
     # default behaviour
     return unblock_commands(last_user_input, self.commands)