From: Ed Page Date: Fri, 18 Dec 2009 16:45:14 +0000 (-0600) Subject: Slight improvement to things X-Git-Url: http://git.maemo.org/git/?p=theonering;a=commitdiff_plain;h=9cf0ec3b95e684599a8b74a76b6fd2ff7ec4239f Slight improvement to things --- diff --git a/hand_tests/generic.py b/hand_tests/generic.py index ebd7f47..2e69a5d 100755 --- a/hand_tests/generic.py +++ b/hand_tests/generic.py @@ -356,8 +356,8 @@ class Aliases(Action): def _on_done(self, aliases): print "\tAliases:" - for alias in aliases: - print "\t\t", alias + for h, alias in zip(self._handleAction.handles, aliases): + print "\t\t", h, alias super(Aliases, self)._on_done() @@ -502,6 +502,11 @@ if __name__ == '__main__': lastAction = sps if True: + sl = Sleep(10 * 1000) + lastAction.append_action(sl) + lastAction = sl + + if True: rclh = RequestHandle(con, telepathy.HANDLE_TYPE_LIST, ["subscribe"]) lastAction.append_action(rclh) lastAction = rclh