mirror of
https://github.com/mnaberez/py65.git
synced 2024-10-31 22:06:12 +00:00
Compare commits
5 Commits
90ee2c8bee
...
fc3ecd9ebf
Author | SHA1 | Date | |
---|---|---|---|
|
fc3ecd9ebf | ||
|
85ed46fd68 | ||
|
2b837bbd4f | ||
|
6ccdbe9c07 | ||
|
f3d2eb2f22 |
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Show Python version
|
||||
run: python -V
|
||||
@ -34,6 +34,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# does not work with actions/checkout@v4:
|
||||
# /usr/bin/docker exec 289170dbefc90d2ba94a09f3dcb70c42c1e1b29a5e877cd533b26ebf73ca82fa sh -c "cat /etc/*release | grep ^ID"
|
||||
# /__e/node20/bin/node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
|
||||
# /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
|
||||
# /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /__e/node20/bin/node)
|
||||
|
||||
- name: Show Python version
|
||||
run: python -V
|
||||
@ -51,7 +56,7 @@ jobs:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Show Python version
|
||||
run: python -V
|
||||
@ -72,10 +77,10 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2008-2018, Mike Naberezny and contributors.
|
||||
Copyright (c) 2008-2024, Mike Naberezny and contributors.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -156,18 +156,19 @@ class Monitor(cmd.Cmd):
|
||||
self._output(usage)
|
||||
|
||||
def onecmd(self, line):
|
||||
line = self._preprocess_line(line)
|
||||
if line:
|
||||
line = self._preprocess_line(line)
|
||||
|
||||
result = None
|
||||
try:
|
||||
result = cmd.Cmd.onecmd(self, line)
|
||||
except KeyboardInterrupt:
|
||||
self._output("Interrupt")
|
||||
except Exception as e:
|
||||
error = ''.join(traceback.format_exception(e))
|
||||
except Exception:
|
||||
error = ''.join(traceback.format_exception(*sys.exc_info()))
|
||||
self._output(error)
|
||||
|
||||
if not line.startswith("quit"):
|
||||
if line and not line.startswith("quit"):
|
||||
self._output_mpu_status()
|
||||
|
||||
# Switch back to the previous input mode.
|
||||
|
Loading…
Reference in New Issue
Block a user