Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Fix adb logwatch NameError: global name 'pattern' is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
maticrivo committed May 10, 2015
1 parent d0edcc7 commit a30aacb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion magneto/utils/adb.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def test_incoming_call(self, watcher):
if not pending:
Logger.debug('watchers done')

patterns_left = '\n'.join('pattern: {}'.format(str(pattern)) for r in self._watchers)
patterns_left = '\n'.join('pattern: {}'.format(str(r)) for r in self._watchers)
raise AssertionError(
'assert_done failure.\nWaited {} seconds but still have {} watchers:\n{}'
.format(timeout, len(self._watchers), patterns_left)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='magneto',
version='0.1.11',
version='0.1.12',
description='Magneto - Command your droids.',
author='EverythingMe',
author_email='automation@everything.me',
Expand Down

0 comments on commit a30aacb

Please sign in to comment.