]> git.pld-linux.org Git - packages/DenyHosts.git/blob - silentpurge.patch
BR: rpmbuild(macros) >= 1.710
[packages/DenyHosts.git] / silentpurge.patch
1 --- DenyHosts-2.6/DenyHosts/denyfileutil.py~    2006-04-20 06:44:58.000000000 +0300
2 +++ DenyHosts-2.6/DenyHosts/denyfileutil.py     2010-04-01 09:18:00.449710314 +0300
3 @@ -137,7 +137,7 @@
4          self.cutoff = long(time.time()) - cutoff
5          debug("relative cutoff: %ld (seconds)", cutoff)
6          debug("absolute cutoff: %ld (epoch)", self.cutoff)
7 -        info("purging entries older than: %s",
8 +        debug("purging entries older than: %s",
9               time.asctime(time.localtime(self.cutoff)))
10          
11          self.backup()
12 @@ -153,7 +153,7 @@
13          else:
14              self.remove_temp()
15              
16 -        info("num entries purged: %d", num_purged)
17 +        debug("num entries purged: %d", num_purged)
18          plugin_purge = prefs.get('PLUGIN_PURGE')
19          if plugin_purge:
20              plugin.execute(plugin_purge, purged_hosts)
This page took 0.079946 seconds and 3 git commands to generate.