]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Cosmetics.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 21 Apr 2015 22:54:51 +0000 (23:54 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 21 Apr 2015 22:54:51 +0000 (23:54 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py
src/allmydata/test/test_drop_upload.py

index f816e9e41d1dbab9cb3e1873954004942a4d172d..48ed2cd329953248bbf59152b2019a61167f9d3b 100644 (file)
@@ -230,7 +230,8 @@ class DropUploader(service.MultiService):
                     filecap = filenode.get_uri()
                     print "filename %s filecap %s" % (path, filecap)
                     s = os.stat(path)
-                    self._db.did_upload_file(filecap, path.decode('UTF-8'), s.st_mtime, s.st_ctime, s.st_size)
+                    self._db.did_upload_file(filecap, path.decode('UTF-8'),
+                                             s.st_mtime, s.st_ctime, s.st_size)
 
                     #r = self._db.check_file(path.decode('UTF-8'))
                     #was_uploaded = r.was_uploaded()
index 602871940688b06cd4b0b2b1a7bfddbee7b4130d..ec534dbc9f5bff47079743f16e13e3d6c13515bd 100644 (file)
@@ -319,11 +319,11 @@ class MockTest(DropUploadTestMixin, unittest.TestCase):
         self.inotify = fake_inotify
         self.basedir = "drop_upload.MockTest.test_persistence"
         return self._test_persistence()
-    
+
+
 class RealTest(DropUploadTestMixin, unittest.TestCase):
     """This is skipped unless both Twisted and the platform support inotify."""
 
-
     def test_drop_upload(self):
         # We should always have runtime.platform.supportsINotify, because we're using
         # Twisted >= 10.1.