Rev 6096: (mbp) fix 'bzr serve' invocation in admin guide (Martin Pool) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Wed Aug 24 23:55:24 UTC 2011
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 6096 [merge]
revision-id: pqm at pqm.ubuntu.com-20110824235503-awoynimslk9acds9
parent: pqm at pqm.ubuntu.com-20110824203301-6lg9swwyae8kpshj
parent: mbp at canonical.com-20110824042521-gzovoam2x1fgcnq2
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2011-08-24 23:55:03 +0000
message:
(mbp) fix 'bzr serve' invocation in admin guide (Martin Pool)
modified:
bzrlib/osutils.py osutils.py-20050309040759-eeaff12fbf77ac86
=== modified file 'bzrlib/osutils.py'
--- a/bzrlib/osutils.py 2011-08-19 22:26:03 +0000
+++ b/bzrlib/osutils.py 2011-08-24 23:55:03 +0000
@@ -2255,7 +2255,7 @@
termios.tcsetattr(fd, termios.TCSADRAIN, settings)
return ch
-if sys.platform == 'linux2':
+if sys.platform.startswith('linux'):
def _local_concurrency():
try:
return os.sysconf('SC_NPROCESSORS_ONLN')
More information about the bazaar-commits
mailing list