changeset 456:dcde61c928af

Add debug log message for enabling authentication.
author cmlenz
date Wed, 12 Sep 2007 19:42:11 +0000
parents dc2c565600a9
children b267ad4b93e9
files bitten/slave.py doc/recipes.txt
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/slave.py
+++ b/bitten/slave.py
@@ -104,6 +104,7 @@
             self.opener = urllib2.build_opener(SaneHTTPErrorProcessor)
             password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm()
             if username and password:
+                log.debug('Enabling authentication with username %r', username)
                 password_mgr.add_password(None, url, username, password)
             self.opener.add_handler(urllib2.HTTPBasicAuthHandler(password_mgr))
             self.opener.add_handler(urllib2.HTTPDigestAuthHandler(password_mgr))
--- a/doc/recipes.txt
+++ b/doc/recipes.txt
@@ -44,12 +44,12 @@
   <build xmlns:python="http://bitten.cmlenz.net/tools/python"
          xmlns:svn="http://bitten.cmlenz.net/tools/svn">
   
-    <step id="build" description="Checkout source from repository">
+    <step id="checkout" description="Checkout source from repository">
       <svn:checkout url="http://svn.example.org/repos/foo"
           path="${path}" revision="${revision}" />
     </step>
   
-    <step id="checkout" description="Compile to byte code">
+    <step id="build" description="Compile to byte code">
       <python:distutils command="build"/>
     </step>
   
Copyright (C) 2012-2017 Edgewall Software