diff options
Diffstat (limited to 'geo-replication')
-rw-r--r-- | geo-replication/syncdaemon/resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py index 1bee0a3338f..3a3bd004e8f 100644 --- a/geo-replication/syncdaemon/resource.py +++ b/geo-replication/syncdaemon/resource.py @@ -651,7 +651,7 @@ class Server(object): en = e['entry1'] st = lstat(entry) if isinstance(st, int): - if e['stat']: + if e['stat'] and not stat.S_ISDIR(e['stat']['mode']): (pg, bname) = entry2pb(en) blob = entry_pack_reg_stat(gfid, bname, e['stat']) else: |