damned-lies r1164 - in trunk: . languages



Author: claudep
Date: Wed Nov 12 20:27:07 2008
New Revision: 1164
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1164&view=rev

Log:
2008-11-12  Claude Paroz  <claude 2xlibre net>

	* languages/views.py: Distinguish between ui and doc in the tar filename.

Modified:
   trunk/ChangeLog
   trunk/languages/views.py

Modified: trunk/languages/views.py
==============================================================================
--- trunk/languages/views.py	(original)
+++ trunk/languages/views.py	Wed Nov 12 20:27:07 2008
@@ -54,7 +54,7 @@
     language = Language.objects.get(locale=locale)
     last_modif, file_list = release.get_lang_files(language, dtype)
 
-    tar_filename = '%s.%s.tar.gz' % (release.name, language.locale)
+    tar_filename = '%s.%s.%s.tar.gz' % (release.name, dtype, language.locale)
     tar_directory = os.path.join(settings.POTDIR, 'tar')
     if not os.access(tar_directory, os.R_OK):
         os.mkdir(tar_directory)



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