[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Let's hope nobody reads THAT commit!



It's too embarrassing.

Signed-off-by: Torsten Werner <twerner@debian.org>
---
 dak/cruft_report.py |   10 ++++++++++
 dak/queue_report.py |   10 ----------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dak/cruft_report.py b/dak/cruft_report.py
index 08d336d..aac0d45 100755
--- a/dak/cruft_report.py
+++ b/dak/cruft_report.py
@@ -35,6 +35,16 @@ Check for obsolete binary packages
 
 ################################################################################
 
+import warnings
+warnings.filterwarnings('ignore', \
+    "apt_pkg\.ParseTagFile\(\) is deprecated\. Please see apt_pkg\.TagFile\(\) for the replacement\.", \
+    DeprecationWarning)
+warnings.filterwarnings('ignore', \
+    "Attribute '.*' of the 'apt_pkg\.TagFile' object is deprecated, use '.*' instead\.", \
+    DeprecationWarning)
+
+################################################################################
+
 import commands, os, sys, re
 import apt_pkg
 
diff --git a/dak/queue_report.py b/dak/queue_report.py
index 7176a88..98c80f0 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -34,16 +34,6 @@
 
 ################################################################################
 
-import warnings
-warnings.filterwarnings('ignore', \
-    "apt_pkg\.ParseTagFile\(\) is deprecated\. Please see apt_pkg\.TagFile\(\) for the replacement\.", \
-    DeprecationWarning)
-warnings.filterwarnings('ignore', \
-    "Attribute '.*' of the 'apt_pkg\.TagFile' object is deprecated, use '.*' instead\.", \
-    DeprecationWarning)
-
-################################################################################
-
 from copy import copy
 import glob, os, stat, sys, time
 import apt_pkg
-- 
1.7.2.5


Reply to: