We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b1b22 commit 85ac597Copy full SHA for 85ac597
CHANGES.rst
@@ -5,6 +5,7 @@ Changelog
5
------------------
6
7
- switched to `python-javabridge`, the new name (fork?) of the `javabridge` library
8
+- `Package.__str__` (`weka.core.packages` module) method now returns a string rather than printing the name/version
9
- ...
10
11
python/weka/core/packages.py
@@ -125,7 +125,7 @@ def __str__(self):
125
:return: the name/version
126
:rtype: str
127
"""
128
- print(self.name + "/" + self.version)
+ return self.name + "/" + self.version
129
130
131
class PackageConstraint(JavaObject):
0 commit comments