~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/cache-country-mirrors.py

  • Committer: Curtis Hovey
  • Date: 2010-03-30 23:10:49 UTC
  • mto: This revision was merged to the branch mainline in revision 10609.
  • Revision ID: curtis.hovey@canonical.com-20100330231049-gojh7oepppnz5s26
Fix the file permissions set by cache-country-mirrors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
            mirrors_file.close()
54
54
            filename = os.path.join(dir_name, '%s.txt' % country.iso3166code2)
55
55
            shutil.move(tmpfile, filename)
 
56
            os.chmod(filename, 0644)
56
57
 
57
58
 
58
59
if __name__ == '__main__':