From 85b36e348b58ad8ebd771697acdbae8c377abdaa Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Tue, 17 Apr 2007 21:22:32 -0700
Subject: [PATCH] encode.py: remove unused pad() code

---
 src/allmydata/encode.py | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/allmydata/encode.py b/src/allmydata/encode.py
index 3731999d..9cdb8751 100644
--- a/src/allmydata/encode.py
+++ b/src/allmydata/encode.py
@@ -58,17 +58,6 @@ hash tree is put into the URI.
 
 """
 
-def pad(s, l, c='\x00'):
-    """
-    Return string s with enough chars c appended to it to make its length be
-    an even multiple of l bytes.
-
-    @param s the original string
-    @param l the length of the resulting padded string in bytes
-    @param c the pad char
-    """
-    return s + c * mathutil.pad_size(len(s), l)
-
 KiB=1024
 MiB=1024*KiB
 GiB=1024*MiB
-- 
2.45.2