~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archivepublisher/model/ftparchive.py

  • Committer: Colin Watson
  • Date: 2011-07-12 10:54:36 UTC
  • mto: This revision was merged to the branch mainline in revision 13909.
  • Revision ID: cjwatson@canonical.com-20110712105436-ly4sl08xcfz65ito
Create i18n subdirectory of components if we need it.  apt-ftparchive won't do that itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
837
837
            for base_path in base_paths:
838
838
                if "debian-installer" not in base_path:
839
839
                    safe_mkdir(os.path.join(base_path, "source"))
 
840
                    if not distroseries.include_long_descriptions:
 
841
                        safe_mkdir(os.path.join(base_path, "i18n"))
840
842
                for arch in archs:
841
843
                    safe_mkdir(os.path.join(base_path, "binary-"+arch))