PyNDN: Fixing bug in Data, and adding compatibility tricks to Key and SignedInfo
diff --git a/PyNDN/SignedInfo.py b/PyNDN/SignedInfo.py
index cadf1e7..84941ad 100644
--- a/PyNDN/SignedInfo.py
+++ b/PyNDN/SignedInfo.py
@@ -30,13 +30,16 @@
CONTENT_NACK = ContentType.new_flag('CONTENT_NACK', 0x34008A)
class SignedInfo (object):
- def __init__(self, keyLocator = None, freshness = None, timestamp = None, type = CONTENT_DATA):
+ def __init__(self, keyLocator = None, freshness = None,
+ timestamp = None, type = CONTENT_DATA, *kw, **kwargs):
self.timestamp = timestamp
self.freshnessSeconds = freshness
self.keyLocator = keyLocator
self.type = type
+ # all other parameters are silently ignored
+
def __repr__(self):
args = []