/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-17 14:54:20 UTC
  • mto: (4634.108.4 2.0)
  • mto: This revision was merged to the branch mainline in revision 4928.
  • Revision ID: john@arbash-meinel.com-20091217145420-5cmm4iqody73e5sm
Change to using os.open() allowing the users umask to handle perms.

So a user with 0007 will not create other-readable files in the export.

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
 
459
459
try:
460
460
    from bzrlib._annotator_pyx import Annotator
461
 
except ImportError, e:
462
 
    osutils.failed_to_load_extension(e)
 
461
except ImportError:
463
462
    from bzrlib._annotator_py import Annotator