From 5e866e5a687aa685fa530ba680ba9b1c839989b9 Mon Sep 17 00:00:00 2001 From: tmeissner Date: Sun, 28 Sep 2014 00:57:22 +0200 Subject: [PATCH] renamed class ZipReplace into ZipReplaceInh --- python_3_oop/chapter05/zipprocessor.py | 2 +- python_3_oop/chapter05/zipreplace.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python_3_oop/chapter05/zipprocessor.py b/python_3_oop/chapter05/zipprocessor.py index 835def0..4db3361 100644 --- a/python_3_oop/chapter05/zipprocessor.py +++ b/python_3_oop/chapter05/zipprocessor.py @@ -3,7 +3,7 @@ import shutil import zipfile -class ZipProcessor: +class ZipProcessorInh: def __init__(self, zipname): self.zipname = zipname diff --git a/python_3_oop/chapter05/zipreplace.py b/python_3_oop/chapter05/zipreplace.py index 92a0526..63433a2 100644 --- a/python_3_oop/chapter05/zipreplace.py +++ b/python_3_oop/chapter05/zipreplace.py @@ -1,9 +1,9 @@ -from zipprocessor import ZipProcessor +from zipprocessor import ZipProcessorInh import sys import os -class ZipReplace(ZipProcessor): +class ZipReplace(ZipProcessorInh): def __init__(self, filename, search_string, replace_string): super().__init__(filename)