From: Daira Hopwood <daira@jacaranda.org>
Date: Wed, 19 Aug 2015 13:31:38 +0000 (+0000)
Subject: Debug prints to diagnose version mismatch after deletion.
X-Git-Url: https://git.rkrishnan.org/specifications/%5B/%5D%20/%22doc.html/cyclelanguage?a=commitdiff_plain;h=97e22e621d4450aa0c8fe933a8cbafaacca8310c;p=tahoe-lafs%2Ftahoe-lafs.git

Debug prints to diagnose version mismatch after deletion.
---

diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py
index f370a89c..510dee1a 100644
--- a/src/allmydata/test/test_magic_folder.py
+++ b/src/allmydata/test/test_magic_folder.py
@@ -322,7 +322,7 @@ class MagicFolderTestMixin(MagicFolderTestMixin, ShouldFailMixin, ReallyEqualMix
 
     def _check_version_in_local_db(self, magicfolder, relpath_u, expected_version):
         version = magicfolder._db.get_local_file_version(relpath_u)
-        print "_check_version_in_local_db %s---------------------------------" % (version,)
+        print "_check_version_in_local_db %r %s---------------------------------" % (relpath_u, version)
         self.failUnlessEqual(version, expected_version)
 
     def test_alice_bob(self):