python3-pam for python3 contains print statement not function

Bug #1749725 reported by Martin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pam (Ubuntu)
Triaged
Low
Unassigned

Bug Description

The example file:

/usr/share/doc/python3-pam/examples/pamtest.py

contains in line 20:

   print query

That does not work in python3.

This should read:
   print( query )

Tags: bionic
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm this issue in python3-pam 0.4.2-13.2ubuntu4 on Ubuntu bionic. Looks like the python3-version of this package was introduced in the Ubuntu delta as it is not in Debian. Maybe part of this process forgot to convert the whole example?

Changed in python-pam (Ubuntu):
status: New → Confirmed
tags: added: bionic
Changed in python-pam (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.