/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/osutils.py

  • Committer: Jonathan Riddell
  • Date: 2011-08-30 09:41:24 UTC
  • mfrom: (6110 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6131.
  • Revision ID: jriddell@canonical.com-20110830094124-z3n3pc12wgg2rbc9
mergeĀ inĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2255
2255
            termios.tcsetattr(fd, termios.TCSADRAIN, settings)
2256
2256
        return ch
2257
2257
 
2258
 
if sys.platform == 'linux2':
 
2258
if sys.platform.startswith('linux'):
2259
2259
    def _local_concurrency():
2260
2260
        try:
2261
2261
            return os.sysconf('SC_NPROCESSORS_ONLN')