]> git.pld-linux.org Git - packages/python-pyflakes.git/commitdiff
- dropped obsolete patch auto/th/python-pyflakes-2.1.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Oct 2019 15:49:28 +0000 (17:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Oct 2019 15:49:28 +0000 (17:49 +0200)
pyflakes-IOError.patch [deleted file]

diff --git a/pyflakes-IOError.patch b/pyflakes-IOError.patch
deleted file mode 100644 (file)
index 8e39c0f..0000000
+++ /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:
This page took 0.141212 seconds and 4 git commands to generate.