File: fix-spelling-errors.patch

package info (click to toggle)
pyside2 5.15.16-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,452 kB
  • sloc: python: 223,888; cpp: 80,354; xml: 17,282; sh: 73; makefile: 39; javascript: 16
file content (22 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Sophie Brun <sophie@freexian.com>
Date: Tue, 5 Nov 2019 10:39:14 +0100
Subject: Fix spelling errors

Last-Update: 2018-07-12
---
 sources/pyside2/libpyside/pysideproperty.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sources/pyside2/libpyside/pysideproperty.cpp b/sources/pyside2/libpyside/pysideproperty.cpp
index 0d0957f..86909d3 100644
--- a/sources/pyside2/libpyside/pysideproperty.cpp
+++ b/sources/pyside2/libpyside/pysideproperty.cpp
@@ -519,7 +519,7 @@ int setValue(PySideProperty *self, PyObject *source, PyObject *value)
         Shiboken::AutoDecRef result(PyObject_CallObject(fdel, args));
         return (result.isNull() ? -1 : 0);
     }
-    PyErr_SetString(PyExc_AttributeError, "Attibute read only");
+    PyErr_SetString(PyExc_AttributeError, "Attribute read only");
     return -1;
 }