def splitext(self, the_path):
    '\n        Like os.path.splitext, but takes off .tar, too\n        '
    (base, ext) = posixpath.splitext(the_path)
    if base.lower().endswith('.tar'):
        ext = (base[(- 4):] + ext)
        base = base[:(- 4)]
    return (base, ext)
Like os.path.splitext, but takes off .tar, too
def splitext(self, the_path):
    '\n        \n        '
    (base, ext) = posixpath.splitext(the_path)
    if base.lower().endswith('.tar'):
        ext = (base[(- 4):] + ext)
        base = base[:(- 4)]
    return (base, ext)