diff options
author | Aseda Aboagye <aaboagye@google.com> | 2015-12-07 16:49:53 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-12-08 12:28:58 -0800 |
commit | c665d557cb3297fa95824ccd8549dd98541b3b80 (patch) | |
tree | 76df3744bc8b5ad4df005624728a80c7acfb0f3d /util/ec3po/__init__.py | |
parent | 85cac7ec14fd2d29a64047297db79b36571731c8 (diff) | |
download | chrome-ec-c665d557cb3297fa95824ccd8549dd98541b3b80.tar.gz |
ec3po: Clean up and stylistic changes.
It was brought to my attention that there were some issues with the
ec3po code. This commit addresses those issues raised.
- executable bits dropped from __init__.py and interpreter.py.
- sys.argv[1:] is now passed into console.py:main().
- Added blank lines at top of header.
- Removed dummy exception class (MoveCursorError).
- Added name of modules in the logger, so that it's not just 'root'
when included in other modules.
BUG=chrome-os-partner:46054
BRANCH=None
TEST=./util/ec3po/console_unittest.py -b
TEST=./util/ec3po/interpreter_unittest.py -b
TEST=cros lint --debug ./util/ec3po/console.py
TEST=cros lint --debug ./util/ec3po/console_unittest.py
TEST=cros lint --debug ./util/ec3po/interpreter.py
TEST=cros lint --debug ./util/ec3po/interpreter_unittest.py
Change-Id: I00db368906958d1089c3662eb253be23f81cc70c
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/316479
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'util/ec3po/__init__.py')
-rw-r--r--[-rwxr-xr-x] | util/ec3po/__init__.py | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/util/ec3po/__init__.py b/util/ec3po/__init__.py index e69de29bb2..e69de29bb2 100755..100644 --- a/util/ec3po/__init__.py +++ b/util/ec3po/__init__.py |