From: root Date: Tue, 25 Nov 2008 19:44:15 +0000 (+0100) Subject: Fixed show.py just one dns bug remaining X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d71c517cdf95658c4dc46a5deb1426e4cfefd9;p=ipfire.org.git Fixed show.py just one dns bug remaining --- diff --git a/pakfire/show.py b/pakfire/show.py index 08704a39..ac69ee08 100644 --- a/pakfire/show.py +++ b/pakfire/show.py @@ -1,6 +1,12 @@ #!/usr/bin/python -import cgitb, os, time, socket, cgi, DNS, GeoIP +import cgitb +import os +import time +import socket +import cgi +#import DNS +import GeoIP cgitb.enable() #gi = GeoIP.new(GeoIP.GEOIP_STANDARD) @@ -31,6 +37,7 @@ def print_header():

IPFire Distribution

Made: %s

''' % (os.environ['SCRIPT_NAME'], ver, uuid, time.ctime()) + print "" def beautify_ip(ip): try: