git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@324 830e0280-6d2a-0410-9c65-932aecc39d9d
W. Tell authored on 2008/12/31 21:57:19... | ... |
@@ -768,14 +768,14 @@ def cmd_sync_local2remote(src, dst): |
768 | 768 |
except KeyError: |
769 | 769 |
attr = "uid" |
770 | 770 |
val = st.st_uid |
771 |
- warning(u"%s: Owner username not known. Storing UID=%d instead." % (src, val)) |
|
771 |
+ warning(u"%s: Owner username not known. Storing UID=%d instead." % (unicodise(src), val)) |
|
772 | 772 |
elif attr == 'gname': |
773 | 773 |
try: |
774 | 774 |
val = grp.getgrgid(st.st_gid).gr_name |
775 | 775 |
except KeyError: |
776 | 776 |
attr = "gid" |
777 | 777 |
val = st.st_gid |
778 |
- warning(u"%s: Owner groupname not known. Storing GID=%d instead." % (src, val)) |
|
778 |
+ warning(u"%s: Owner groupname not known. Storing GID=%d instead." % (unicodise(src), val)) |
|
779 | 779 |
else: |
780 | 780 |
val = getattr(st, 'st_' + attr) |
781 | 781 |
attrs[attr] = val |