dnspython: Update to latest upstream snapshot.
[samba.git] / lib / dnspython / dns / rdtypes / ANY / NSEC3PARAM.py
index ec91e5e85c3a76544f5529f9ab09487439277bb9..4e687825ad70ab8c45257842b43ee8240728259c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2007, 2009, 2010 Nominum, Inc.
+# Copyright (C) 2004-2007, 2009-2011 Nominum, Inc.
 #
 # Permission to use, copy, modify, and distribute this software and its
 # documentation for any purpose with or without fee is hereby granted,
@@ -71,7 +71,7 @@ class NSEC3PARAM(dns.rdata.Rdata):
                                                              wire[current : current + 5])
         current += 5
         rdlen -= 5
-        salt = wire[current : current + slen]
+        salt = wire[current : current + slen].unwrap()
         current += slen
         rdlen -= slen
         if rdlen != 0: