bitkeeper revision 1.1530 (42937238W2qaGubDybmWZrLF-sQjNQ)

console.py, channel.py, XendDomain.py:
  Remove/disable debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-05-24 18:28:08 +00:00
1 parent 35a241e01b
commit 6a6931fc64
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -1,4 +1,5 @@
# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
# Copyright (C) 2005 Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
"""Handler for domain operations.
Nothing here is persistent (across reboots).
@@ -73,7 +74,6 @@ class XendDomain:
def onVirq(self, event, val):
"""Event handler for virq.
"""
print 'onVirq>', val
self.refresh(cleanup=True)
def xen_domains(self):
+3 -2
View File
@@ -37,7 +37,8 @@ def eventChannelClose(evtchn):
pass
if not evtchn: return
print 'eventChannelClose>', evtchn
if DEBUG:
print 'eventChannelClose>', evtchn
evtchn_close(evtchn.get('dom1'), evtchn.get('port1'))
evtchn_close(evtchn.get('dom2'), evtchn.get('port2'))
@@ -133,7 +134,7 @@ class ChannelFactory:
self.virqHandler = virqHandler
def virqReceived(self, virq):
if 1 or DEBUG:
if DEBUG:
print 'virqReceived>', virq
if not self.virqHandler: return
self.runInThread(lambda virq=virq: self.virqHandler(virq))
-2
View File
@@ -174,7 +174,6 @@ class ConsoleDev(Dev, protocol.ServerFactory):
def destroy(self, change=False, reboot=False):
"""Close the console.
"""
print 'ConsoleDev>destroy>', self, reboot
if reboot:
return
try:
@@ -357,7 +356,6 @@ class ConsoleController(DevController):
self.rebootDevices()
def destroyController(self, reboot=False):
print 'ConsoleController>destroyController>', self, reboot
self.destroyed = True
self.destroyDevices(reboot=reboot)
self.rcvr.deregisterChannel()
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.