Commit c1675b12b3b4f3ae68b1bd02d475dc1b98f70e20

Authored by Tássia Camões Araújo
1 parent d06d6bcc
Exists in master and in 1 other branch add_vagrant

small fixes

Showing 1 changed file with 8 additions and 8 deletions   Show diff stats
@@ -169,11 +169,10 @@ class User: @@ -169,11 +169,10 @@ class User:
169 if or_dep.name in self.pkg_profile: 169 if or_dep.name in self.pkg_profile:
170 self.pkg_profile.remove(or_dep.name) 170 self.pkg_profile.remove(or_dep.name)
171 except: 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 profile_size = len(self.pkg_profile) 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 return self.pkg_profile 176 return self.pkg_profile
178 177
179 class LocalSystem(User): 178 class LocalSystem(User):
@@ -205,8 +204,9 @@ class LocalSystem(User): @@ -205,8 +204,9 @@ class LocalSystem(User):
205 if pkg.is_auto_installed: 204 if pkg.is_auto_installed:
206 self.pkg_profile.remove(p) 205 self.pkg_profile.remove(p)
207 except: 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 profile_size = len(self.pkg_profile) 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