library-web r445 - in trunk: . src
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: library-web r445 - in trunk: . src
- Date: Thu, 8 May 2008 20:24:48 +0100 (BST)
Author: fpeters
Date: Thu May 8 19:24:48 2008
New Revision: 445
URL: http://svn.gnome.org/viewvc/library-web?rev=445&view=rev
Log:
* src/lgo.py: don't create tarballs for depreciated documents.
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:24:48 2008
@@ -990,10 +990,10 @@
src = os.path.join(data_dir, 'skin', filename)
dst = os.path.join(temporary_tarball_dir, lang, os.path.basename(filename))
os.symlink(os.path.abspath(src), dst)
-
- if create_tarball:
- self.create_tarball(doc, temporary_tarball_dir, tarball_filepath)
- self.create_tarball_symlink(doc)
+ else:
+ if create_tarball:
+ self.create_tarball(doc, temporary_tarball_dir, tarball_filepath)
+ self.create_tarball_symlink(doc)
if app.config.create_tarballs:
shutil.rmtree(temporary_tarball_dir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]