[Python-checkins] distutils2: added a log
tarek.ziade
python-checkins at python.org
Sat Jan 1 10:48:12 CET 2011
tarek.ziade pushed 9ddc3c5388e6 to distutils2:
http://hg.python.org/distutils2/rev/9ddc3c5388e6
changeset: 855:9ddc3c5388e6
user: Tarek Ziade <tarek at ziade.org>
date: Sat Jan 01 10:14:04 2011 +0100
summary:
added a log
files:
distutils2/index/simple.py
diff --git a/distutils2/index/simple.py b/distutils2/index/simple.py
--- a/distutils2/index/simple.py
+++ b/distutils2/index/simple.py
@@ -14,6 +14,7 @@
import logging
import os
+from distutils2 import logger
from distutils2.index.base import BaseClient
from distutils2.index.dist import (ReleasesList, EXTENSIONS,
get_infos_from_url, MD5_HASH)
@@ -167,6 +168,7 @@
if predicate.name.lower() in self._projects and not force_update:
return self._projects.get(predicate.name.lower())
prefer_final = self._get_prefer_final(prefer_final)
+ logger.info('Reading info on PyPI about %s' % predicate.name)
self._process_index_page(predicate.name)
if predicate.name.lower() not in self._projects:
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list