Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Merge requests
!171
Rename hardware_device into lofar_device
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
Rename hardware_device into lofar_device
L2SS-448-rename-device
into
master
Overview
0
Commits
1
Pipelines
0
Changes
10
Merged
Corné Lukken
requested to merge
L2SS-448-rename-device
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
10
Expand
Closes
L2SS-448
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
8e9eac34
1 commit,
3 years ago
10 files
+
55
−
55
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
tangostationcontrol/tangostationcontrol/devices/abstract_device.py
+
1
−
1
Options
@@ -20,7 +20,7 @@ logger = logging.getLogger()
@@ -20,7 +20,7 @@ logger = logging.getLogger()
class
AbstractDeviceMetas
(
DeviceMeta
,
ABCMeta
):
class
AbstractDeviceMetas
(
DeviceMeta
,
ABCMeta
):
"""
Collects meta classes to allow
hardware
_device to be both a Device and an ABC.
"""
"""
Collects meta classes to allow
lofar
_device to be both a Device and an ABC.
"""
def
__new__
(
mcs
,
name
,
bases
,
namespace
,
**
kwargs
):
def
__new__
(
mcs
,
name
,
bases
,
namespace
,
**
kwargs
):
cls
=
ABCMeta
.
__new__
(
mcs
,
name
,
bases
,
namespace
,
**
kwargs
)
cls
=
ABCMeta
.
__new__
(
mcs
,
name
,
bases
,
namespace
,
**
kwargs
)
Loading