Skip to content

Commit 6567a1c

Browse files
authored
Merge pull request #66 from univ-of-utah-marriott-library-apple/v0.7.3
Changed jamf/records.py ln 385 Error to JamfError
2 parents 5159cd2 + 049c224 commit 6567a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jamf/records.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def __new__(cls, *a, **kw):
382382
s1, s2, end = swag.swagger(plural, "s1, s2, end")
383383
if cls.plural_class == "PatchPolicies":
384384
if len(a[1]) < 3:
385-
raise Error(f"patchpolicies requires 3 args to create records")
385+
raise JamfError(f"patchpolicies requires 3 args to create records")
386386
softwaretitleconfigid = a[1][1]
387387
end = f"patchpolicies/softwaretitleconfig/id/{softwaretitleconfigid}"
388388
out = {s1: swag.post_template(cls.plural_class, name)}

0 commit comments

Comments
 (0)