/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: Canonical.com Patch Queue Manager
  • Date: 2011-08-24 23:55:03 UTC
  • mfrom: (6057.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20110824235503-awoynimslk9acds9
(mbp) fix 'bzr serve' invocation in admin guide (Martin Pool)

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')