bzrlib.osutils.local_concurrency() always return 1 on kfreebsd-*

Bug #693140 reported by Jelmer Vernooij
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Jelmer Vernooij
bzr (Debian)
Fix Released
Unknown

Bug Description

Rerported by Jakub Wilk in Debian bug #588853:

$ 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().

Related branches

Changed in bzr (Debian):
status: Unknown → Confirmed
Changed in bzr (Debian):
status: Confirmed → Fix Released
Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 2.4b1
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.