p/redwood.py: fixed what looks like a typo
Etienne Mollier
4 years ago
0 | Description: p/redwood.py: fixed what looks like a typo | |
1 | this typo issued the following message during byte-compilation: | |
2 | . | |
3 | byte-compiling /mnt/data/emollier/debian/python-pauvre/debian/python3-pauvre/usr/lib/python3.8/dist-packages/pauvre/redwood.py to redwood.cpython-38.pyc | |
4 | File "/usr/lib/python3.8/dist-packages/pauvre/redwood.py", line 706 | |
5 | ifargs.BASENAME is None: | |
6 | ^ | |
7 | SyntaxError: invalid syntax | |
8 | Author: Etienne Mollier <etienne.mollier@mailoo.org> | |
9 | Bug: https://github.com/conchoecia/pauvre/pull/39 | |
10 | Last-Update: 2020-04-25 | |
11 | --- | |
12 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ | |
13 | --- python-pauvre.orig/pauvre/redwood.py | |
14 | +++ python-pauvre/pauvre/redwood.py | |
15 | @@ -703,7 +703,7 @@ | |
16 | end = time.time() | |
17 | print(end - start) | |
18 | # Print image(s) | |
19 | - ifargs.BASENAME is None: | |
20 | + if args.BASENAME is None: | |
21 | file_base = "redwood" | |
22 | else: | |
23 | file_base = args.BASENAME |