Skip to content

file /soar-sdk/DummyManager.py syntaxerror when running in python 3.11 #3

@hzmndt

Description

@hzmndt

File "<DummyManager.py>", line 10
print "Foo Foo Foo"
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

import logging

class DmManager(object):

def __init__(self):
    self._log = logging.getLogger("siemplify_default_logger")

def foo(self):
    self._log.warn("Foo Foo Foo")
    print "Foo Foo Foo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions