From c9851b4cd5ade65a13a7a441c89acbb1dfd649ca Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis <gkorf@grnet.gr> Date: Thu, 30 Apr 2015 14:49:31 +0300 Subject: [PATCH] fix info of uploaded file --- agkyra/agkyra/syncer/pithos_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agkyra/agkyra/syncer/pithos_client.py b/agkyra/agkyra/syncer/pithos_client.py index e1d2334..8570fc1 100644 --- a/agkyra/agkyra/syncer/pithos_client.py +++ b/agkyra/agkyra/syncer/pithos_client.py @@ -220,7 +220,7 @@ class PithosTargetHandle(object): if_etag_match=info.get("pithos_etag")) synced_etag = r["etag"] live_info = {"pithos_etag": synced_etag, - "pithos_type": common.T_DIR} + "pithos_type": common.T_FILE} return self.target_state.set(info=live_info) except ClientError as e: if e.status == 412: # Precondition failed -- GitLab