From ae727a550a56be088423360a2a108c087ed2b9b8 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Sat, 10 Nov 2007 16:37:18 -0700
Subject: [PATCH] IMutableFileNode is a subtype of IFileNode I'm not 100% sure
 that this is correct, but it looks reasonable, it passes unit tests (although
 note that unit tests are currently not covering the new mutable files very
 well), and it makes the "view JSON" link on a directory work instead of
 raising an assertion error.

---
 src/allmydata/interfaces.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py
index 37aad178..3b18dfa0 100644
--- a/src/allmydata/interfaces.py
+++ b/src/allmydata/interfaces.py
@@ -473,7 +473,7 @@ class IFileNode(Interface):
     def check():
         """Perform a file check. See IChecker.check for details."""
 
-class IMutableFileNode(Interface):
+class IMutableFileNode(IFileNode):
     def download_to_data():
         """Download the file's contents. Return a Deferred that fires with
         those contents. If there are multiple retrievable versions in the
-- 
2.45.2