summaryrefslogtreecommitdiffstats
path: root/scripts/reporead.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/reporead.py')
-rwxr-xr-xscripts/reporead.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 1e2dacf..54fc3fa 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -33,7 +33,6 @@ REPOVARS = ['arch', 'backup', 'builddate', 'conflicts', 'csize',
import os
import re
import sys
-import gzip
import tarfile
import logging
from datetime import datetime
@@ -45,10 +44,9 @@ os.chdir(archweb_app_path)
sys.path[0] = archweb_app_path
import settings
setup_environ(settings)
-from pprint import pprint as pp
from cStringIO import StringIO
-from logging import CRITICAL,ERROR,WARNING,INFO,DEBUG
-from main.models import Arch, Package, PackageFile, PackageDepend, Repo
+from logging import WARNING,INFO
+from main.models import Arch, Package, Repo
class SomethingFishyException(Exception):
'''Raised when the database looks like its going to wipe out a bunch of