Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S spamassassin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DebianDebian
  • spamassassin
  • Merge requests
  • !4

d/t/get_spam_points.py: Update to work with python3

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Bryce Harrington requested to merge bryce-guest/spamassassin:master into master May 21, 2020
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

The print statement is removed in python3 in favor of a print() function.

In python2, ("foo") is the same as "foo", so print("foo") works identically as print "foo".

This prevents spamassassin's autopkgtest to fail when run on systems where python -> /usr/bin/python3.

Signed-off-by: Bryce Harrington bryce@bryceharrington.org

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master