Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix getting uid

  • Loading branch information...
commit 6d4494102682ba857d4dc0ebe0a85db293957e06 1 parent f881b16
@mdomsch authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  s3cmd
View
2  s3cmd
@@ -879,7 +879,7 @@ def cmd_sync_local2remote(args):
val = pwd.getpwuid(local_list[src]['uid']).pw_name
except KeyError:
attr = "uid"
- val = local_list[src].get(uid)
+ val = local_list[src].get('uid')
warning(u"%s: Owner username not known. Storing UID=%d instead." % (src, val))
elif attr == 'gname':
try:
Please sign in to comment.
Something went wrong with that request. Please try again.