sdfgen 0.13.0__cp312-cp312-musllinux_1_2_x86_64.whl → 0.13.1__cp312-cp312-musllinux_1_2_x86_64.whl
Sign up to get free protection for your applications and to get access to all the features.
- csdfgen.cpython-312-x86_64-linux-musl.so +0 -0
- sdfgen/module.py +11 -0
- {sdfgen-0.13.0.dist-info → sdfgen-0.13.1.dist-info}/METADATA +1 -1
- sdfgen-0.13.1.dist-info/RECORD +8 -0
- sdfgen-0.13.0.dist-info/RECORD +0 -8
- {sdfgen-0.13.0.dist-info → sdfgen-0.13.1.dist-info}/WHEEL +0 -0
- {sdfgen-0.13.0.dist-info → sdfgen-0.13.1.dist-info}/top_level.txt +0 -0
Binary file
|
sdfgen/module.py
CHANGED
@@ -10,6 +10,7 @@ from enum import IntEnum
|
|
10
10
|
class SddfStatus(IntEnum):
|
11
11
|
OK = 0,
|
12
12
|
DUPLICATE_CLIENT = 1,
|
13
|
+
INVALID_CLIENT = 2,
|
13
14
|
NET_DUPLICATE_COPIER = 100,
|
14
15
|
NET_DUPLICATE_MAC_ADDR = 101,
|
15
16
|
|
@@ -492,6 +493,8 @@ class Sddf:
|
|
492
493
|
return
|
493
494
|
elif ret == SddfStatus.DUPLICATE_CLIENT:
|
494
495
|
raise Exception(f"duplicate client given '{client}'")
|
496
|
+
elif ret == SddfStatus.INVALID_CLIENT:
|
497
|
+
raise Exception(f"invalid client given '{client}'")
|
495
498
|
else:
|
496
499
|
raise Exception(f"internal error: {ret}")
|
497
500
|
|
@@ -536,6 +539,8 @@ class Sddf:
|
|
536
539
|
return
|
537
540
|
elif ret == SddfStatus.DUPLICATE_CLIENT:
|
538
541
|
raise Exception(f"duplicate client given '{client}'")
|
542
|
+
elif ret == SddfStatus.INVALID_CLIENT:
|
543
|
+
raise Exception(f"invalid client given '{client}'")
|
539
544
|
else:
|
540
545
|
raise Exception(f"internal error: {ret}")
|
541
546
|
|
@@ -572,6 +577,8 @@ class Sddf:
|
|
572
577
|
return
|
573
578
|
elif ret == SddfStatus.DUPLICATE_CLIENT:
|
574
579
|
raise Exception(f"duplicate client given '{client}'")
|
580
|
+
elif ret == SddfStatus.INVALID_CLIENT:
|
581
|
+
raise Exception(f"invalid client given '{client}'")
|
575
582
|
else:
|
576
583
|
raise Exception(f"internal error: {ret}")
|
577
584
|
|
@@ -631,6 +638,8 @@ class Sddf:
|
|
631
638
|
return
|
632
639
|
elif ret == SddfStatus.DUPLICATE_CLIENT:
|
633
640
|
raise Exception(f"duplicate client given '{client}'")
|
641
|
+
elif ret == SddfStatus.INVALID_CLIENT:
|
642
|
+
raise Exception(f"invalid client given '{client}'")
|
634
643
|
elif ret == SddfStatus.NET_DUPLICATE_COPIER:
|
635
644
|
raise Exception(f"duplicate copier given '{copier}'")
|
636
645
|
elif ret == SddfStatus.NET_DUPLICATE_MAC_ADDR:
|
@@ -670,6 +679,8 @@ class Sddf:
|
|
670
679
|
return
|
671
680
|
elif ret == SddfStatus.DUPLICATE_CLIENT:
|
672
681
|
raise Exception(f"duplicate client given '{client}'")
|
682
|
+
elif ret == SddfStatus.INVALID_CLIENT:
|
683
|
+
raise Exception(f"invalid client given '{client}'")
|
673
684
|
else:
|
674
685
|
raise Exception(f"internal error: {ret}")
|
675
686
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
csdfgen.cpython-312-x86_64-linux-musl.so,sha256=kp3DtwkH1lAstWy7ChA5Y9EcaUyiY_24nL9_yLoe8V4,3807016
|
2
|
+
sdfgen/module.py,sha256=gErijUnu2goAmP-Bh-5GNqeKa4BHgC5d11qAj80ZWGM,26830
|
3
|
+
sdfgen/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
sdfgen/__init__.py,sha256=qFoYMCiM89s1BduC2hWsDRa3kGhvmJcxJsaHMWLhf1g,131
|
5
|
+
sdfgen-0.13.1.dist-info/METADATA,sha256=goZitmVQPeoQzT39pPE-CD2dAc5aQzDweb5RnXzdymY,5905
|
6
|
+
sdfgen-0.13.1.dist-info/RECORD,,
|
7
|
+
sdfgen-0.13.1.dist-info/top_level.txt,sha256=M3gUW9vTMij10peQKgv1Qs0jZkdsk_PG0REFxuv6jNY,15
|
8
|
+
sdfgen-0.13.1.dist-info/WHEEL,sha256=BwYrisTu1yp8WloXcEi-3Rmdx-uar3nqcuXFSFGpP_Q,112
|
sdfgen-0.13.0.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
csdfgen.cpython-312-x86_64-linux-musl.so,sha256=cWzGLle17exqk8QRkXrOtZgDb_kArJqI36t1La02Gn0,3746296
|
2
|
-
sdfgen/module.py,sha256=O_-r_xy2Ff-1esvlMSHzZ3N42fcQeaAROX4Nym9okII,26211
|
3
|
-
sdfgen/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
sdfgen/__init__.py,sha256=qFoYMCiM89s1BduC2hWsDRa3kGhvmJcxJsaHMWLhf1g,131
|
5
|
-
sdfgen-0.13.0.dist-info/METADATA,sha256=68lsAq62TVRE-5y7jTOyNJ0AoezTpOD5mNgsChJ6DkM,5905
|
6
|
-
sdfgen-0.13.0.dist-info/RECORD,,
|
7
|
-
sdfgen-0.13.0.dist-info/top_level.txt,sha256=M3gUW9vTMij10peQKgv1Qs0jZkdsk_PG0REFxuv6jNY,15
|
8
|
-
sdfgen-0.13.0.dist-info/WHEEL,sha256=BwYrisTu1yp8WloXcEi-3Rmdx-uar3nqcuXFSFGpP_Q,112
|
File without changes
|
File without changes
|