mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-06 14:03:13 +01:00
more of @element
This commit is contained in:
1 parent
d3fbfebeb7
commit
97fea10ee2
3 files changed
+37
-22
No files matched your search
@@ -122,6 +122,9 @@ def make_ip(arg):
|
||||
def make_mac(arg):
|
||||
return _make(arg, _slsdet.MacAddr)
|
||||
|
||||
def make_path(arg):
|
||||
return _make(arg, Path)
|
||||
|
||||
def _make(arg, transform):
|
||||
"""Helper function for make_mac and make_ip special cases for
|
||||
dict, list and tuple. Otherwise just calls transform"""
|
||||
|
||||
Reference in new issue
Block a user