~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store.py

  • Committer: Martin Pool
  • Date: 2005-06-20 03:54:23 UTC
  • Revision ID: mbp@sourcefrog.net-20050620035423-10f4bb320656b0d1
- files within stores are no longer made readonly

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
        if compressed:
95
95
            f = gzip.GzipFile(p + '.gz', 'wb')
96
 
            os.chmod(p + '.gz', 0444)
97
96
        else:
98
97
            f = file(p, 'wb')
99
 
            os.chmod(p, 0444)
100
98
            
101
99
        f.write(content)
102
100
        f.close()