library-web r446 - in trunk: . src
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: library-web r446 - in trunk: . src
- Date: Thu, 8 May 2008 20:28:44 +0100 (BST)
Author: fpeters
Date: Thu May 8 19:28:44 2008
New Revision: 446
URL: http://svn.gnome.org/viewvc/library-web?rev=446&view=rev
Log:
* src/lgo.py: skip tarballs on gtk-doc modules lacking a generated copy
of the HTML files in their source tarballs.
Modified:
trunk/ChangeLog
trunk/src/lgo.py
Modified: trunk/src/lgo.py
==============================================================================
--- trunk/src/lgo.py (original)
+++ trunk/src/lgo.py Thu May 8 19:28:44 2008
@@ -696,7 +696,7 @@
logging.info('generating doc tarball in %s' % tarball_filepath[
len(app.config.output_dir):])
shipped_html = os.path.join(app.config.private_dir, 'extracts', self.dirname, 'html')
- if not shipped_html:
+ if not os.path.exists(shipped_html) or len(os.listdir(shipped_html)) == 0:
logging.warning('tarball shipped without html/, too bad')
return
tar = tarfile.open(tarball_filepath, 'w:gz')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]