[packages/python-pyflakes] - dropped obsolete patch

qboosh qboosh at pld-linux.org
Tue Oct 22 17:45:55 CEST 2019


commit e65774d5b2226e6ed6acba3cd7c19b99d3d2b9b5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 22 17:49:28 2019 +0200

    - dropped obsolete patch

 pyflakes-IOError.patch | 25 -------------------------
 1 file changed, 25 deletions(-)
---
diff --git a/pyflakes-IOError.patch b/pyflakes-IOError.patch
deleted file mode 100644
index 8e39c0f..0000000
--- a/pyflakes-IOError.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- pyflakes-0.2.1/bin/pyflakes.orig	2005-10-07 16:58:28.000000000 +0200
-+++ pyflakes-0.2.1/bin/pyflakes	2005-11-18 16:23:52.000000000 +0100
-@@ -10,7 +10,11 @@
-         tree = compiler.parse(codeString)
-     except (SyntaxError, IndentationError):
-         value = sys.exc_info()[1]
--        (lineno, offset, line) = value[1][1:]
-+        try:
-+            (lineno, offset, line) = value[1][1:]
-+        except IndexError:
-+            print >> sys.stderr, 'could not compile %r' % (filename,)
-+            return
-         if line.endswith("\n"):
-             line = line[:-1]
-         print >> sys.stderr, 'could not compile %r:%d:' % (filename, lineno)
-@@ -24,7 +28,8 @@
- 
- 
- def checkPath(filename):
--    return check(file(filename).read(), filename)
-+    if os.path.exists(filename):
-+        return check(file(filename).read(), filename)
- 
- args = sys.argv[1:]
- if args:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyflakes.git/commitdiff/e65774d5b2226e6ed6acba3cd7c19b99d3d2b9b5



More information about the pld-cvs-commit mailing list