]> git.pld-linux.org Git - packages/pylint.git/commitdiff
- workaround for the http://www.logilab.org/ticket/74087 bug
authorJacek Konieczny <jajcus@pld-linux.org>
Sat, 3 Sep 2011 17:23:37 +0000 (17:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pylint-type_error.patch -> 1.1
    pylint.spec -> 1.56

pylint-type_error.patch [new file with mode: 0644]
pylint.spec

diff --git a/pylint-type_error.patch b/pylint-type_error.patch
new file mode 100644 (file)
index 0000000..a4fc942
--- /dev/null
@@ -0,0 +1,12 @@
+diff -dur pylint-0.24.0.orig/checkers/variables.py pylint-0.24.0/checkers/variables.py
+--- pylint-0.24.0.orig/checkers/variables.py   2011-07-18 16:42:45.000000000 +0200
++++ pylint-0.24.0/checkers/variables.py        2011-09-03 19:09:07.000000000 +0200
+@@ -488,6 +488,8 @@
+                 return None
+             except astng.InferenceError:
+                 return None
++            except TypeError:
++                return None
+         if module_names:
+             # FIXME: other message if name is not the latest part of
+             # module_names ?
index 223336242e1dc1fd18fa30b9922d73f376759659..a8b371f7a1ff4d82a1ce6f31f52f6dd5ed1e46a0 100644 (file)
@@ -5,11 +5,12 @@ Summary:      Python tool that checks if a module satisfy a coding standard
 Summary(pl.UTF-8):     Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
 Name:          pylint
 Version:       0.24.0
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Python
 Source0:       ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
 # Source0-md5: 71df67d15f3aa1895c543b40a6955ed3
+Patch0:                %{name}-type_error.patch
 URL:           http://www.logilab.org/project/pylint
 BuildRequires: python-devel
 BuildRequires: python-modules >= 2.2.1
@@ -45,6 +46,8 @@ Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
 %prep
 %setup -q
 
+%patch0 -p1
+
 %build
 python setup.py build
 
This page took 0.093247 seconds and 4 git commands to generate.