summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-06 03:46:28 +0200
committerDusty Phillips <buchuki@gmail.com>2008-10-06 03:46:28 +0200
commit103d1a347a7515c67af7dbd3241a4970dd46faac (patch)
treef406476820abc269df2137afc690f55080e0656f /scripts
parentf583f6aa090199aa6577c1cdc00074f616515410 (diff)
downloadarchweb-103d1a347a7515c67af7dbd3241a4970dd46faac.tar.gz
archweb-103d1a347a7515c67af7dbd3241a4970dd46faac.tar.xz
drop a bunch of unusued imports
Diffstat (limited to 'scripts')
-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