Removing not needed line, it's a self assignation
authorDaniel Garcia Moreno <danigm@wadobo.com>
Mon, 8 Jul 2013 19:00:29 +0000 (21:00 +0200)
committerDaniel Garcia Moreno <danigm@wadobo.com>
Mon, 8 Jul 2013 19:00:29 +0000 (21:00 +0200)
deltatar/tarfile.py

index a6fb2f6..df44b2f 100644 (file)
@@ -1807,7 +1807,6 @@ class TarFile(object):
         elif "#" in mode:
             filemode, comptype = mode.split("#", 1)
             filemode = filemode or "r"
-            comptype = comptype
 
             if filemode not in "rw":
                 raise ValueError("mode must be 'r' or 'w'")