mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-08-11 22:00:30 +02:00
removed inheriting from object
This commit is contained in:
committed by
Auf keinen Fall Jens
parent
5b977200dd
commit
ef491cc2cd
@@ -82,7 +82,7 @@ def get_current_step_in_scan(meta_directory=None):
|
||||
|
||||
return current_step
|
||||
|
||||
class BrokerManager(object):
|
||||
class BrokerManager:
|
||||
REQUIRED_PARAMETERS = ["output_file"]
|
||||
|
||||
def __init__(self, broker_client):
|
||||
|
||||
@@ -63,7 +63,7 @@ def register_rest_interface(app, manager):
|
||||
return json.dumps({"state": "error",
|
||||
"status": error_text})
|
||||
|
||||
class DetectorManager(object):
|
||||
class DetectorManager:
|
||||
|
||||
def get_detector_settings(self, request=None, remote_ip=None):
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ from pika import BlockingConnection, ConnectionParameters, BasicProperties
|
||||
|
||||
from time import sleep
|
||||
|
||||
class RabbitMqClient(object):
|
||||
class RabbitMqClient:
|
||||
|
||||
def __init__(self, broker_url=broker_config.DEFAULT_BROKER_URL):
|
||||
self.broker_url = broker_url
|
||||
|
||||
Reference in New Issue
Block a user