From f47ae6c0f997777bdb645eba8eb2c4c26338364b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 8 Aug 2016 13:51:20 -0400 Subject: fix bug when appdata.pot file cannot be regenerated --- gtk2_ardour/wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index 398bd57248..e1c349fc87 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -865,7 +865,10 @@ def appdata_i18n_pot(bld): adsource = os.path.join(bld.top_dir, 'gtk2_ardour', 'ardour.appdata.xml.in.in') Logs.info('Updating ' + potfile) - subprocess.call(('itstool', '-i', itsfile, '-o', potfile, adsource)) + try: + subprocess.call(('itstool', '-i', itsfile, '-o', potfile, adsource)) + except: + print ('Error processing appdata pot file - ignored') elif bld.cmd == 'clean' and os.path.exists(potfile): Logs.info('Removing Ardour appdata pot file') os.remove(potfile) -- cgit v1.2.3