[svnbook] r5939 committed - www/bin/build-and-deploy.py

cmpilato at users.sourceforge.net cmpilato at users.sourceforge.net
Wed Jun 26 10:22:52 CDT 2019


Revision: 5939
          http://sourceforge.net/p/svnbook/source/5939
Author:   cmpilato
Date:     2019-06-26 15:22:48 +0000 (Wed, 26 Jun 2019)
Log Message:
-----------
In verbose mode, print errors that terminate the build.

Modified Paths:
--------------
    www/bin/build-and-deploy.py

Modified: www/bin/build-and-deploy.py
===================================================================
--- www/bin/build-and-deploy.py	2019-06-25 14:38:50 UTC (rev 5938)
+++ www/bin/build-and-deploy.py	2019-06-26 15:22:48 UTC (rev 5939)
@@ -476,6 +476,8 @@
                 adsensify(dst_path, dry_run, verbose)
             build_end_time = time.time()
         except Exception, e:
+            if verbose:
+                print "Build error occurred: %s" % (str(e))
             if dry_run:
                 print "Send failure email: %s" % (locale)
             else:




More information about the svnbook-dev mailing list