[Pkg-bazaar-maint] Bug#588853: bzrlib.osutils.local_concurrency() always return 1 on kfreebsd-*
Jakub Wilk
jwilk at debian.org
Mon Jul 12 18:43:13 UTC 2010
Package: bzr
Version: 2.1.2-1
Severity: minor
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
$ getconf _NPROCESSORS_ONLN
2
$ python -c 'from bzrlib.osutils import local_concurrency as c; print c()'
1
BTW, Python >= 2.6 already has a robust implementation of a similar function:
multiprocessing.cpu_count().
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 8.0-1-686-smp
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bzr depends on:
ii libc0.1 2.11.2-2 Embedded GNU C Library: Shared lib
ii python 2.6.5-5 An interactive high-level object-o
ii python-central 0.6.16 register and build utility for Pyt
ii python-configobj 4.7.2+ds-1 simple but powerful config file re
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
--
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20100712/31107502/attachment.pgp>
More information about the Pkg-bazaar-maint
mailing list