From: Daira Hopwood <daira@jacaranda.org>
Date: Tue, 13 Oct 2015 14:55:00 +0000 (+0100)
Subject: Restore a call to increment files_uploaded that was mistakenly removed.
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/using.html?a=commitdiff_plain;h=8776e641097a1af75a21c4a52c65b4e18daa0709;p=tahoe-lafs%2Ftahoe-lafs.git

Restore a call to increment files_uploaded that was mistakenly removed.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py
index 52b305c3..e8572d05 100644
--- a/src/allmydata/frontends/magic_folder.py
+++ b/src/allmydata/frontends/magic_folder.py
@@ -357,6 +357,7 @@ class Uploader(QueueMixin):
                     last_downloaded_uri = metadata.get('last_downloaded_uri', None)
                     last_downloaded_timestamp = now
                     self._db.did_upload_version(relpath_u, version, filecap, last_downloaded_uri, last_downloaded_timestamp, pathinfo)
+                    self._count('files_uploaded')
                 d2.addCallback(add_db_entry)
                 return d2
             else: