Bug 246414

Summary: Tools/scripts/patchtool.py: Breaks with Python 3.x due to missing raw_input
Product: Ports & Packages Reporter: Ashish SHUKLA <ashish>
Component: Ports FrameworkAssignee: Rene Ladan <rene>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs, rene
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix to make script work with both versions none

Description Ashish SHUKLA freebsd_committer freebsd_triage 2020-05-12 08:14:42 UTC
Created attachment 214405 [details]
Fix to make script work with both versions

"patchtool.py -a" which prompts user for confirmation before overwriting an existing diff file is broken due to missing "raw_input" in Python 3.x.
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2020-05-12 15:04:01 UTC
over to maintainer.
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2020-07-11 20:26:30 UTC
Patch committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-07-11 20:26:42 UTC
A commit references this bug:

Author: rene
Date: Sat Jul 11 20:26:01 UTC 2020
New revision: 542048
URL: https://svnweb.freebsd.org/changeset/ports/542048

Log:
  Tools/scripts/patchtool: adjust for Python 3

  PR:		246414
  Submitted by:	ashish
  Event:		July 2020 Bugathon

Changes:
  head/Tools/scripts/patchtool.py