6.2. Use myclass with the second recipe
Issue #12
resolved
file "meta-tutorial/recipes-tutorial/second/second_1.0.bb" content syntax error:
def pyfunc(o):
print dir (o)
modify ↓
def pyfunc(o):
print_dir (o)
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
Hi,
thank you for reporting this!
Is not a bug, dir is a python functions that returns a list.
print writes this list to the console.
Maybe I should add this to the description so that it becomes more clear?