changeset 905:0ae349142bf2

Oops. Typo in `local` and `dry_run` slave attachment info logging. Fixes #670. Thanks.
author osimons
date Wed, 30 Mar 2011 13:29:44 +0000
parents 295594162417
children 16972cef96bf
files bitten/slave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/slave.py
+++ b/bitten/slave.py
@@ -504,7 +504,7 @@
         form_token = recipe._root.attr.get('form_token', '')
         if self.local or self.dry_run or not form_token:
             log.info('Attachment %s not sent due to current slave options',
-                        attachment.attr['file'])
+                        attachment.attr['filename'])
             return
         resource_type = attachment.attr['resource']
         url = str(build_url + '/attach/' + resource_type)
Copyright (C) 2012-2017 Edgewall Software