# HG changeset patch # User Bryan O'Sullivan # Date 1365812197 25200 # Node ID 05d5821e0dc85bff757e6bace3e7978b6d0f2aef # Parent 79580b3140cd7376c16395236ca24f36d2baa99c worker: add missing import of errno Found using Cython. diff -r 79580b3140cd -r 05d5821e0dc8 mercurial/worker.py --- 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'''