Bug 246414 - Tools/scripts/patchtool.py: Breaks with Python 3.x due to missing raw_input
Summary: Tools/scripts/patchtool.py: Breaks with Python 3.x due to missing raw_input
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 08:14 UTC by Ashish SHUKLA
Modified: 2020-07-11 20:26 UTC (History)
2 users (show)

See Also:


Attachments
Fix to make script work with both versions (634 bytes, patch)
2020-05-12 08:14 UTC, Ashish SHUKLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashish SHUKLA freebsd_committer 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 2020-05-12 15:04:01 UTC
over to maintainer.
Comment 2 Rene Ladan freebsd_committer 2020-07-11 20:26:30 UTC
Patch committed, thanks!
Comment 3 commit-hook freebsd_committer 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