dnspython: Update to latest upstream snapshot.
[samba.git] / lib / dnspython / dns / rdtypes / IN / APL.py
index 7412c02d304196d9570e1b55c46553201356bdce..260fd6f39fc8e2dbb0033cbbcad566d6e809c0c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2003-2007, 2009, 2010 Nominum, Inc.
+# Copyright (C) 2003-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,
@@ -131,7 +131,7 @@ class APL(dns.rdata.Rdata):
             rdlen -= 4
             if rdlen < afdlen:
                 raise dns.exception.FormError
-            address = wire[current : current + afdlen]
+            address = wire[current : current + afdlen].unwrap()
             l = len(address)
             if header[0] == 1:
                 if l < 4: