Commit c1675b12b3b4f3ae68b1bd02d475dc1b98f70e20
1 parent
d06d6bcc
Exists in
master
and in
1 other branch
small fixes
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
src/user.py
... | ... | @@ -169,11 +169,10 @@ class User: |
169 | 169 | if or_dep.name in self.pkg_profile: |
170 | 170 | self.pkg_profile.remove(or_dep.name) |
171 | 171 | except: |
172 | - logging.debug("Disconsidering package not found in cache: %s" | |
173 | - % p) | |
172 | + logging.debug("Package not found in cache: %s" % p) | |
174 | 173 | profile_size = len(self.pkg_profile) |
175 | - logging.info("Reduced packages profile size from %d to %d." % | |
176 | - (old_profile_size, profile_size)) | |
174 | + logging.debug("Maximal package profile: reduced packages profile size \ | |
175 | + from %d to %d." % (old_profile_size, profile_size)) | |
177 | 176 | return self.pkg_profile |
178 | 177 | |
179 | 178 | class LocalSystem(User): |
... | ... | @@ -205,8 +204,9 @@ class LocalSystem(User): |
205 | 204 | if pkg.is_auto_installed: |
206 | 205 | self.pkg_profile.remove(p) |
207 | 206 | except: |
208 | - logging.debug("Disconsidering package not found in cache: %s" | |
209 | - % p) | |
207 | + logging.debug("Package not found in cache: %s" % p) | |
210 | 208 | profile_size = len(self.pkg_profile) |
211 | - logging.info("Reduced packages profile size from %d to %d." % | |
212 | - (old_profile_size, profile_size)) | |
209 | + logging.debug("No auto-intalled package profile: reduced packages \ | |
210 | + profile size from %d to %d." % | |
211 | + (old_profile_size, profile_size)) | |
212 | + return self.pkg_profile | ... | ... |