git » pyweave » commit 1e423a2

Remove unused imports, and import only known variables from the config module

author Alberto Bertogli
2009-09-28 23:03:56 UTC
committer Alberto Bertogli
2009-09-28 23:03:56 UTC
parent 197b8edeb1fcc0f5055ae9ee5519b055a016ff7e

Remove unused imports, and import only known variables from the config module

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

pyweave.cgi +1 -3

diff --git a/pyweave.cgi b/pyweave.cgi
index dc6d9cf..daa3d1a 100755
--- a/pyweave.cgi
+++ b/pyweave.cgi
@@ -24,9 +24,7 @@ data_path = "/var/weave/data/"
 
 import sys
 import os
-import errno
 import time
-import urllib
 import cgi
 
 try:
@@ -46,7 +44,7 @@ except ImportError:
 
 # Load the config file, if there is one
 try:
-	from config import *
+	from config import data_path
 except:
 	pass