mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated print
This commit is contained in:
parent
95922fb43e
commit
c5a9221f53
2 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ class CheckUpdates:
|
|||
|
||||
def check(self):
|
||||
""" Checks the ChangeLogs and returns True or False. """
|
||||
print('Checking for news in the Changelog.txt file...')
|
||||
print(end='\rChecking for news in the Changelog.txt file... ')
|
||||
local_date = 0
|
||||
local_chg_txt = (f'{self.configs.sbo_repo_path}/'
|
||||
f'{self.configs.chglog_txt}')
|
||||
|
@ -34,6 +34,6 @@ class CheckUpdates:
|
|||
|
||||
def updates(self):
|
||||
if self.check():
|
||||
print('\nThere are new updates available!\n')
|
||||
print('\n\nThere are new updates available!\n')
|
||||
else:
|
||||
print('\nNo updated packages since the last check.\n')
|
||||
print('\n\nNo updated packages since the last check.\n')
|
||||
|
|
|
@ -28,9 +28,9 @@ class UpdateRepository:
|
|||
check_updates = CheckUpdates()
|
||||
|
||||
if not check_updates.check():
|
||||
print('\nNo changes in ChangeLog.txt between your last update and now.')
|
||||
print('\n\nNo changes in ChangeLog.txt between your last update and now.')
|
||||
else:
|
||||
print('\nThere are new updates available!')
|
||||
print('\n\nThere are new updates available!')
|
||||
|
||||
view.question()
|
||||
|
||||
|
|
Loading…
Reference in a new issue