library-web r447 - in trunk: . src



Author: fpeters
Date: Thu May  8 19:31:58 2008
New Revision: 447
URL: http://svn.gnome.org/viewvc/library-web?rev=447&view=rev

Log:
* src/lgo.py: make sure existing tarballs are not skipped in index
files.



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:31:58 2008
@@ -819,6 +819,12 @@
             tarball_filepath = os.path.join(app.config.output_dir, self.channel,
                     self.modulename, tarball_name)
 
+            if os.path.exists(tarball_filepath):
+                # doc already exists, keep it in tarballs dictionary as it may
+                # be skipped in this run, if the documentation is already
+                # uptodate.
+                doc.tarballs[self.one_dot_version] = tarball_name
+
         base_tarball_name = os.path.basename(self.filename).rsplit('-', 1)[0]
 
         create_tarball = app.config.create_tarballs



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]