Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
capisuite
capisuite-0.4.5-python-v2.5.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File capisuite-0.4.5-python-v2.5.diff of Package capisuite
Index: capisuite-0.4.5/src/application/pythonscript.cpp =================================================================== --- capisuite-0.4.5.orig/src/application/pythonscript.cpp +++ capisuite-0.4.5/src/application/pythonscript.cpp @@ -99,14 +99,14 @@ PythonScript::run() throw (ApplicationEr if ( !(py_traceback=cStringIO->cgetvalue(catch_stderr)) ) throw ApplicationError("unable to get traceback","PythonScript::run()"); - int length; + Py_ssize_t length; char *traceback; if (PyString_AsStringAndSize(py_traceback, &traceback, &length)) throw ApplicationError("unable to convert traceback to char*","PythonScript::run()"); error << prefix() << "A python error occured. See traceback below." << endl; error << prefix(false) << "Python traceback: "; - for (int i=0;i<length-1;i++) { + for (Py_ssize_t i=0;i<length-1;i++) { error << traceback[i]; if (traceback[i]=='\n') error << prefix(false) << "Traceback: "; Index: capisuite-0.4.5/scripts/cs_helpers.pyin =================================================================== --- capisuite-0.4.5.orig/scripts/cs_helpers.pyin +++ capisuite-0.4.5/scripts/cs_helpers.pyin @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # cs_helpers.py - some helper functions for CapiSuite scripts # ----------------------------------------------------------- # copyright : (C) 2002 by Gernot Hillier Index: capisuite-0.4.5/scripts/idle.py =================================================================== --- capisuite-0.4.5.orig/scripts/idle.py +++ capisuite-0.4.5/scripts/idle.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # idle.py - default script for capisuite # --------------------------------------------- # copyright : (C) 2002 by Gernot Hillier Index: capisuite-0.4.5/scripts/incoming.py =================================================================== --- capisuite-0.4.5.orig/scripts/incoming.py +++ capisuite-0.4.5/scripts/incoming.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # incoming.py - standard incoming script for capisuite # ---------------------------------------------------- # copyright : (C) 2002 by Gernot Hillier
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor