Mercurial > hg-stable
changeset 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 | 79580b3140cd |
children | 169030d9255e |
files | mercurial/worker.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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'''