Browse code

* s3cmd: Fixed Error: global name 'real_filename' is not defined

git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@381 830e0280-6d2a-0410-9c65-932aecc39d9d

Michal Ludvig authored on 2009/02/25 11:21:50
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+2009-02-25  Michal Ludvig  <michal@logix.cz>
2
+
3
+	* s3cmd: Fixed Error: global name 'real_filename' is not defined
4
+
1 5
 2009-02-24  Michal Ludvig  <michal@logix.cz>
2 6
 
3 7
 	* s3cmd: New command [sign]
... ...
@@ -334,7 +334,7 @@ def cmd_object_put(args):
334 334
 		try:
335 335
 			response = s3.object_put(full_name, uri_final, extra_headers, extra_label = seq_label)
336 336
 		except S3UploadError, e:
337
-			error(u"Upload of '%s' failed too many times. Skipping that file." % real_filename)
337
+			error(u"Upload of '%s' failed too many times. Skipping that file." % full_name_orig)
338 338
 			continue
339 339
 		except InvalidFileError, e:
340 340
 			warning(u"File can not be uploaded: %s" % e)