subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1478608 - /subversion/trunk/build/generator/gen_base.py
Date Thu, 02 May 2013 23:36:34 GMT
Author: danielsh
Date: Thu May  2 23:36:33 2013
New Revision: 1478608

URL: http://svn.apache.org/r1478608
Log:
Unbreak the build.

* build/generator/gen_base.py
  (write_errno_table): Change an assertion that doesn't hold on the buildbot to
    an informative message.

Modified:
    subversion/trunk/build/generator/gen_base.py

Modified: subversion/trunk/build/generator/gen_base.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_base.py?rev=1478608&r1=1478607&r2=1478608&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_base.py (original)
+++ subversion/trunk/build/generator/gen_base.py Thu May  2 23:36:33 2013
@@ -283,7 +283,9 @@ class GeneratorBase:
     fd.write('};\n')
 
     ## sanity check
-    assert set() == set(errno.errorcode.keys()) & set(dict(aprerr).keys())
+    intersection = set(errno.errorcode.keys()) & set(dict(aprerr).keys())
+    if intersection:
+        print("WARNING: errno intersects APR error codes: %r" % intersection)
 
 class DependencyGraph:
   """Record dependencies between build items.



Mime
View raw message