Bug 197710 - [patch] textprox/py-xml: fix small issue with reserved keyword used a variable
Summary: [patch] textprox/py-xml: fix small issue with reserved keyword used a variable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 17:00 UTC by Kurt Jaeger
Modified: 2015-02-16 17:29 UTC (History)
0 users

See Also:


Attachments
patch for reserved keyword used as variable (1.39 KB, patch)
2015-02-16 17:00 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2015-02-16 17:00:42 UTC
Created attachment 153042 [details]
patch for reserved keyword used as variable

As reported in

https://lists.freebsd.org/pipermail/freebsd-ports/2015-February/098038.html

"as" is a reserved keyword in Python. So we can't use "as" as identifier.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2015-02-16 17:26:09 UTC
Builds fine, so...
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-02-16 17:28:51 UTC
A commit references this bug:

Author: pi
Date: Mon Feb 16 17:27:59 UTC 2015
New revision: 379100
URL: https://svnweb.freebsd.org/changeset/ports/379100

Log:
  textprox/py-xml: 'as' is reserved keyword in newer versions of Python

  PR:		197710
  Submitted by:	Joerg Ruppe-Tanner <joerg.ruppe.tanner@gmail.com>

Changes:
  head/textproc/py-xml/Makefile
  head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2015-02-16 17:29:03 UTC
Committed, thanks.