From f436703707dd984c938f6fca9522329e0d6598c1 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 21 Apr 2015 23:53:39 +0100 Subject: [PATCH] Change when _scan is called. Signed-off-by: Daira Hopwood --- src/allmydata/frontends/drop_upload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index 3f529904..8664da1a 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -119,11 +119,12 @@ class DropUploader(service.MultiService): self.warn("WARNING: cannot backup symlink %s" % quote_local_unicode_path(childpath)) elif isdir: print "isdir" - # recurse on the child directory - self._scan(childpath) must_upload = self._check_db_file(childpath.decode('UTF-8')) if must_upload: self._append_to_deque(childpath) + + # recurse on the child directory + self._scan(childpath) elif isfile: print "isfile %s" % (childpath,) must_upload = self._check_db_file(childpath.decode('UTF-8')) -- 2.45.2