You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by sv...@apache.org on 2025/07/14 04:00:05 UTC

svn commit: r1927212 - in /subversion/branches/1.14.x: ./ STATUS tools/hook-scripts/svnperms.py

Author: svn-role
Date: Mon Jul 14 04:00:05 2025
New Revision: 1927212

URL: http://svn.apache.org/viewvc?rev=1927212&view=rev
Log:
Merge r1886358 from trunk:

* r1886358
  Python 3 compatibility: Update a raise statement probably missed in
  revision 873411 changes.
  Justification:
    Fix Python 3 compatibility
  Votes:
    +1: jamessan, dsahlberg

Modified:
    subversion/branches/1.14.x/   (props changed)
    subversion/branches/1.14.x/STATUS
    subversion/branches/1.14.x/tools/hook-scripts/svnperms.py

Propchange: subversion/branches/1.14.x/
------------------------------------------------------------------------------
  Merged /subversion/trunk:r1886358

Modified: subversion/branches/1.14.x/STATUS
URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/STATUS?rev=1927212&r1=1927211&r2=1927212&view=diff
==============================================================================
--- subversion/branches/1.14.x/STATUS (original)
+++ subversion/branches/1.14.x/STATUS Mon Jul 14 04:00:05 2025
@@ -27,11 +27,3 @@ Veto-blocked changes:
 
 Approved changes:
 =================
-
-* r1886358
-  Python 3 compatibility: Update a raise statement probably missed in
-  revision 873411 changes.
-  Justification:
-    Fix Python 3 compatibility
-  Votes:
-    +1: jamessan, dsahlberg

Modified: subversion/branches/1.14.x/tools/hook-scripts/svnperms.py
URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/tools/hook-scripts/svnperms.py?rev=1927212&r1=1927211&r2=1927212&view=diff
==============================================================================
--- subversion/branches/1.14.x/tools/hook-scripts/svnperms.py (original)
+++ subversion/branches/1.14.x/tools/hook-scripts/svnperms.py Mon Jul 14 04:00:05 2025
@@ -137,7 +137,8 @@ class Permission:
                     try:
                         groupusers.extend(self._group[token[1:]])
                     except KeyError:
-                        raise Error, "group '%s' not found" % token[1:]
+                        raise Error("group '%s' not found" % \
+                                     token[1:])
                 else:
                     groupusers.append(token)
             self._group[option] = groupusers



Re: svn commit: r1927212 - in /subversion/branches/1.14.x: ./ STATUS tools/hook-scripts/svnperms.py

Posted by Branko Čibej <br...@apache.org>.
On 14. 7. 25 06:00, svn-role@apache.org wrote:
> Author: svn-role
> Date: Mon Jul 14 04:00:05 2025
> New Revision: 1927212
>
> URL:http://svn.apache.org/viewvc?rev=1927212&view=rev
> Log:
> Merge r1886358 from trunk:
>
> * r1886358
>    Python 3 compatibility: Update a raise statement probably missed in
>    revision 873411 changes.
>    Justification:
>      Fix Python 3 compatibility
>    Votes:
>      +1: jamessan, dsahlberg
>
> Modified:
>      subversion/branches/1.14.x/   (props changed)
>      subversion/branches/1.14.x/STATUS
>      subversion/branches/1.14.x/tools/hook-scripts/svnperms.py
>
> Propchange: subversion/branches/1.14.x/
> ------------------------------------------------------------------------------
>    Merged /subversion/trunk:r1886358
>
> Modified: subversion/branches/1.14.x/STATUS
> URL:http://svn.apache.org/viewvc/subversion/branches/1.14.x/STATUS?rev=1927212&r1=1927211&r2=1927212&view=diff
> ==============================================================================
> --- subversion/branches/1.14.x/STATUS (original)
> +++ subversion/branches/1.14.x/STATUS Mon Jul 14 04:00:05 2025
> @@ -27,11 +27,3 @@ Veto-blocked changes:
>   
>   Approved changes:
>   =================
> -
> -* r1886358
> -  Python 3 compatibility: Update a raise statement probably missed in
> -  revision 873411 changes.
> -  Justification:
> -    Fix Python 3 compatibility
> -  Votes:
> -    +1: jamessan, dsahlberg
>
> Modified: subversion/branches/1.14.x/tools/hook-scripts/svnperms.py
> URL:http://svn.apache.org/viewvc/subversion/branches/1.14.x/tools/hook-scripts/svnperms.py?rev=1927212&r1=1927211&r2=1927212&view=diff
> ==============================================================================
> --- subversion/branches/1.14.x/tools/hook-scripts/svnperms.py (original)
> +++ subversion/branches/1.14.x/tools/hook-scripts/svnperms.py Mon Jul 14 04:00:05 2025
> @@ -137,7 +137,8 @@ class Permission:
>                       try:
>                           groupusers.extend(self._group[token[1:]])
>                       except KeyError:
> -                        raise Error, "group '%s' not found" % token[1:]
> +                        raise Error("group '%s' not found" % \
> +                                     token[1:])
>                   else:
>                       groupusers.append(token)
>               self._group[option] = groupusers

This backslash is not needed and neither is the line break in the first 
place.

-- Brane