You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying out your md5 branch for the JamfPackageUploader, and am getting an error:
'JamfPackageUploader' object has no attribute 'reboot_required'
I get this regardless of what value I set for reboot_required e.g. -k reboot_required="False"
From looking at your code, I think it is just an error in JamfPackageUploaderBase.py at line 945: if not reboot_required or self.reboot_required == "False":
which should be: if not reboot_required or reboot_required == "False":
since you are never creating an object property named reboot_required, just using a local variable.
The text was updated successfully, but these errors were encountered:
Thanks, yes that's right. I took the opportunity to remove all the "self" objects which were unnecessary and were causing my linting tools to complain. But clearly missed this one. I'll fix it today.
grahampugh
added
bug
Something isn't working
answered
Answered, awaiting response if required (will be closed after a while if no response given)
labels
Nov 27, 2024
I am trying out your md5 branch for the JamfPackageUploader, and am getting an error:
'JamfPackageUploader' object has no attribute 'reboot_required'
I get this regardless of what value I set for
reboot_required
e.g.-k reboot_required="False"
From looking at your code, I think it is just an error in JamfPackageUploaderBase.py at line 945:
if not reboot_required or self.reboot_required == "False":
which should be:
if not reboot_required or reboot_required == "False":
since you are never creating an object property named
reboot_required
, just using a local variable.The text was updated successfully, but these errors were encountered: