Mercurial > public > mercurial-scm > hg-stable
diff mercurial/worker.py @ 18914:05d5821e0dc8
worker: add missing import of errno
Found using Cython.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Fri, 12 Apr 2013 17:16:37 -0700 |
parents | 779e3d9b7a1d |
children | 3185b347ae98 |
line wrap: on
line diff
--- a/mercurial/worker.py Fri Apr 12 16:01:18 2013 -0700 +++ b/mercurial/worker.py Fri Apr 12 17:16:37 2013 -0700 @@ -6,7 +6,7 @@ # GNU General Public License version 2 or any later version. from i18n import _ -import os, signal, sys, threading, util +import errno, os, signal, sys, threading, util def countcpus(): '''try to count the number of CPUs on the system'''