diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-08-08 13:51:20 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-08-08 13:51:20 -0400 |
commit | f47ae6c0f997777bdb645eba8eb2c4c26338364b (patch) | |
tree | 010a2c552fe4a6f11d663f189ded4765a879cfce /gtk2_ardour/wscript | |
parent | 653df3ca4f1c621639be5e478bbfb665888ed387 (diff) |
fix bug when appdata.pot file cannot be regenerated
Diffstat (limited to 'gtk2_ardour/wscript')
-rw-r--r-- | gtk2_ardour/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
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) |