- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -10,7 +10,7 @@
for param in params:
if param.name == "testing":
- # condition is pass if run with python2
- print("pass")
+ # condition is pass if run with python2
+ print("pass")
print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
~~~
~~~~
---
**[tickets:#3351] pyosaf: python3 SaStringT compare with str alway fail**
**Status:** accepted
**Milestone:** 5.24.09
**Created:** Fri Apr 19, 2024 11:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Apr 19, 2024 11:15 AM UTC
**Owner:** Thien Minh Huynh
using ping-pong samples and reproduce with python3
~~~
def print_admin_operation_info(dn, params):
""" Print admin operation information """
print("INFO: I am %s" % dn)
if params:
print("INFO: Received parameters")
for param in params:
if param.name == "testing":
# condition is pass if run with python2
print("pass")
print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
~~~
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets