diff options
-rw-r--r-- | layman/db.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layman/db.py b/layman/db.py index 1cf637d..b152814 100644 --- a/layman/db.py +++ b/layman/db.py @@ -323,8 +323,12 @@ class RemoteDB(DbBase): self.output.warn('Failed to update the overlay list from: ' + url + '\nError was:\n' + str(error)) else: - self.output.info('Fetching new list... %s' % url, 4) - self.output.info('Last-modified: %s' % timestamp, 4) + if url.startswith('file://'): + quieter = 1 + else: + quieter = 0 + self.output.info('Fetching new list... %s' % url, 4 + quieter) + self.output.info('Last-modified: %s' % timestamp, 4 + quieter) # Fetch the remote list olist = connection.read() |