r21200 by craig -

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 16 22:23:08 UTC 2016


Author: craig
Date: Sat Apr 16 22:23:08 2016
New Revision: 21200

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21200
Log:
#13951: int to integer

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21200&path=/trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp	Sat Apr 16 22:23:08 2016
@@ -431,7 +431,7 @@
 
 	if (!PyTuple_Check(pages))
 	{
-		PyErr_SetString(PyExc_TypeError, QObject::tr("second argument is not tuple: must be tuple of int values.","python error").toLocal8Bit().constData());
+		PyErr_SetString(PyExc_TypeError, QObject::tr("second argument is not tuple: must be tuple of integer values.","python error").toLocal8Bit().constData());
 		return NULL;
 	}
 
@@ -443,7 +443,7 @@
 	{
 		if (!PyArg_Parse(PyTuple_GetItem(pages, i), "i", &p))
 		{
-			PyErr_SetString(PyExc_TypeError, QObject::tr("second argument contains non-numeric values: must be list of int values.","python error").toLocal8Bit().constData());
+			PyErr_SetString(PyExc_TypeError, QObject::tr("second argument contains non-numeric values: must be list of integer values.","python error").toLocal8Bit().constData());
 			Py_DECREF(pages);
 			return NULL;
 		}




More information about the scribus-commit mailing list