commit | 05d40943177299410805e57d47f2f0fc806b0c81 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Aug 09 12:43:26 2013 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Aug 09 12:43:26 2013 -0700 |
tree | bb565d53bb5bf5547a5c7088fda26b6f04807a42 | |
parent | baccf7d5e320d655dc327d9767d34e3a53c390aa [diff] [blame] |
PyNDN: Fixing bug in Data, and adding compatibility tricks to Key and SignedInfo
diff --git a/PyNDN/Data.py b/PyNDN/Data.py index 7e8dd56..5369380 100644 --- a/PyNDN/Data.py +++ b/PyNDN/Data.py
@@ -101,7 +101,7 @@ # ? pass if value.freshnessSeconds: - self._data.SetFreshness (ns.core.Seconds (value)) + self._data.SetFreshness (ns.core.Seconds (value.freshnessSeconds)) if value.keyLocator: self._data.SetKeyLocator (value._name) else: