Remove unused import, and unused class TwistedAdapter. Mark one variable as

unused.

Signed-off-by: Ewan Mellor<ewan@xensource.com>
This commit is contained in:
emellor@ewan committed 2005-09-17 10:29:33 +01:00
1 parent eba9ff6ab9
commit 31e173c963
1 file changed
+2 -10
+2 -10
View File
@@ -1,5 +1,4 @@
from xen.sv.HTMLBase import HTMLBase
from xen.sv.NodeInfo import NodeInfo
from xen.sv.DomInfo import DomInfo
from xen.sv.CreateDomain import CreateDomain
@@ -33,15 +32,8 @@ class Args:
result.append( (key, self.fieldStorage.getlist( key ) ) )
return result
class TwistedAdapter:
def __init__( self, req ):
self.args = Args( req )
self.uri = req.unparsed_uri
self.url = req.uri
self.write = req.write
# This is the Main class
# It peices together all the modules
# It pieces together all the modules
class Main:
def __init__( self ):
@@ -61,7 +53,7 @@ class Main:
self.init_modules( request )
self.init_done = True
for moduleName, module in self.modules.iteritems():
for _, module in self.modules.iteritems():
module.write_MENU( request )
request.write( "\n" )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.