def deleteDataBridge(self,netInt):
		with MutexStore.getObjectLock(self.getLockIdentifier()):
			if not isinstance(netInt,NetworkInterface):
				raise Exception("Can only delete Data Bridge that are instances of NetworkInterace")
			
			#TODO: delete interfaces from VMs, for the moment forbid
			if 0 > netInt.getNumberOfConnections():
				raise Exception("Cannot delete a Data bridge from a server if this bridge has VM's interfaces ensalved.")	

			self.networkInterfaces.remove(netInt)
			netInt.destroy()
			self.autoSave()
dataset/ETHPy150Open fp7-ofelia/ocf/vt_manager/src/python/vt_manager/models/VTServer.py/VTServer.deleteDataBridge/swapped operands of `>`