From: Brian Warner <warner@allmydata.com>
Date: Wed, 18 Apr 2007 22:46:37 +0000 (-0700)
Subject: interfaces.py: remove spurious 'pass' statements (which, incidentally, were counted... 
X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~52
X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/COPYING.TGPPL.html?a=commitdiff_plain;h=bc8ff33cd1aecd4ef3c0d83a096bf57cc05e7b36;p=tahoe-lafs%2Ftahoe-lafs.git

interfaces.py: remove spurious 'pass' statements (which, incidentally, were counted as uncovered code)
---

diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py
index f724ccd5..abb4ab5c 100644
--- a/src/allmydata/interfaces.py
+++ b/src/allmydata/interfaces.py
@@ -198,7 +198,6 @@ class ICodecEncoder(Interface):
         producing shares for the peers which are no longer available.
 
         """
-        pass
 
     def encode(inshares, desired_share_ids=None):
         """Encode some data. This may be called multiple times. Each call is 
@@ -443,7 +442,7 @@ class IUploader(Interface):
         returns a Deferred which fires with the URI of the file."""
 
     def upload_ssk(write_capability, new_version, uploadable):
-        pass # TODO
+        """TODO: how should this work?"""
     def upload_data(data):
         """Like upload(), but accepts a string."""