Fix loosed variable

This commit is contained in:
Artur Shaikhullin 2017-12-28 19:17:25 +06:00
parent a8d79fedf3
commit a01566ed15

View File

@ -862,6 +862,7 @@ class CommandDispatcher:
else: # pragma: no cover else: # pragma: no cover
raise ValueError("Invalid value {!r} for `what'.".format(what)) raise ValueError("Invalid value {!r} for `what'.".format(what))
self.yank_object['what'] = what
self._yank_to_target(s) self._yank_to_target(s)
def _yank_callback(self, s): def _yank_callback(self, s):