Package list python-pauvre / 76d4bed debian / patches / typo-redwood.patch
76d4bed

Tree @76d4bed (Download .tar.gz)

typo-redwood.patch @76d4bed

2d413a6
 
 
 
 
 
 
 
 
 
867f366
 
2d413a6
 
 
 
 
 
 
 
 
 
 
 
 
Description: p/redwood.py: fixed what looks like a typo
 this typo issued the following message during byte-compilation:
 .
  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
    File "/usr/lib/python3.8/dist-packages/pauvre/redwood.py", line 706
      ifargs.BASENAME is None:
                             ^
  SyntaxError: invalid syntax
Author: Etienne Mollier <etienne.mollier@mailoo.org>
Bug: https://github.com/conchoecia/pauvre/pull/39
Applied-Upstream: https://github.com/conchoecia/pauvre/commit/6d55b8671b2797ae7ffeb8c8e9f2815851a4a3f8
Last-Update: 2020-05-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- python-pauvre.orig/pauvre/redwood.py
+++ python-pauvre/pauvre/redwood.py
@@ -703,7 +703,7 @@
     end = time.time()
     print(end - start)
     # Print image(s)
-    ifargs.BASENAME is None:
+    if args.BASENAME is None:
         file_base = "redwood"
     else:
         file_base = args.BASENAME