Codebase list libsbml / 5ca185c
Fix TypeError: '>=' not supported between instances of 'str' and 'int' Andreas Tille 5 years ago
2 changed file(s) with 17 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Author: Andreas Tille <tille@debian.org>
1 Last-Update: Tue, 15 Jan 2019 18:10:07 +0100
2 Description: Avoid error
3 TypeError: '>=' not supported between instances of 'str' and 'int'
4
5 --- a/src/bindings/swig/swigdoc.py
6 +++ b/src/bindings/swig/swigdoc.py
7 @@ -467,7 +467,7 @@ class Method:
8 # this fixes a real problem in the Java documentation for libSBML.
9
10 if language == 'java' or language == 'csharp':
11 - if isConst and 'unsigned int' in args >= 0:
12 + if isConst and 'unsigned int' in args : # >= 0:
13 self.args = ''
14 elif not args.strip() == '()':
15 if isConst:
88 javadoc.patch
99 remove_SBMLDoclet.patch
1010 fix_cmake_configuration.patch
11 fix_build_issue.patch