summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-29 03:49:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-29 03:49:43 (GMT)
commit2c60f7a13697bbc19c4d5ef0b052c34cf1848244 (patch)
tree7e33cdc40b1e60ad8729008f344bb8849e1373e1 /Lib/tarfile.py
parentc0c12b57070a5b494662bebc418e3958bf5bdbee (diff)
downloadcpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.zip
cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.gz
cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r--Lib/tarfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index 3e334be..6a92a10 100644
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -1249,7 +1249,7 @@ class TarFile(object):
if self.posix:
prefix = tarinfo.name[:LENGTH_PREFIX + 1]
while prefix and prefix[-1] != "/":
- prefix = prefix[:-1]
+ prefix = prefix[:-1]
name = tarinfo.name[len(prefix):]
prefix = prefix[:-1]