fix MORE_INFO -> more_info

This commit is contained in:
2023-08-07 08:46:35 +02:00
parent 22b4fdb521
commit 68f0d30a54

View File

@ -267,7 +267,7 @@ class Show:
print('%s %s:\n %s' % (title, self.syspath, ' '.join(files)))
else:
for f in files:
if f.endswith(MORE_INFO):
if f.endswith(more_info):
print('diff %s %s' % (join(self.dirpath, f), join(self.syspath, f)))
def show(self, title, dirpath, files):
@ -275,7 +275,7 @@ class Show:
print('%s %s:\n %s' % (title, self.syspath, ' '.join(files)))
else:
for f in files:
if f.endswith(MORE_INFO):
if f.endswith(more_info):
print('cat %s' % join(dirpath, f))
def newer(self, files):