... | ... |
@@ -887,7 +887,7 @@ def cmd_sync_remote2local(args): |
887 | 887 |
mtime = attrs.has_key('mtime') and int(attrs['mtime']) or int(time.time()) |
888 | 888 |
atime = attrs.has_key('atime') and int(attrs['atime']) or int(time.time()) |
889 | 889 |
os.utime(dst_file, (atime, mtime)) |
890 |
- if attrs.has.key('uid') and attrs.has.key('gid'): |
|
890 |
+ if attrs.has_key('uid') and attrs.has_key('gid'): |
|
891 | 891 |
uid = int(attrs['uid']) |
892 | 892 |
gid = int(attrs['gid']) |
893 | 893 |
os.lchown(dst_file,uid,gid) |