lindegroup / autopkgr

AutoPkgr is a free Mac app that makes it easy to install and configure AutoPkg.
http://www.lindegroup.com/autopkgr
Apache License 2.0
528 stars 52 forks source link

"SyntaxWarning: "is not" with a literal." Errors when doing anything in AutoPkgr #700

Closed jaleksiewicz closed 1 year ago

jaleksiewicz commented 1 year ago

Hello I am receiving the following errors when trying to do anything within AutoPkgr. Examples include: adding a repo, refreshing repos, running recipes, etc.

Please see the attached screenshot. I dont understand what this error means.

trying to add a repo I get:

/Library/AutoPkg/JSSImporter/jss/auth.py:61: SyntaxWarning: "is not" with a literal. Did you mean "!="? if r.status_code is not 401:

/Library/AutoPkg/JSSImporter/jss/jssobject.py:959: SyntaxWarning: "is not" with a literal. Did you mean "!="? return len([device for device in self.findall(container_search) if

2023-02-27_15-33-48
homebysix commented 1 year ago

Looks like you're using JSSImporter, which is deprecated and no longer planning bug fixes. Please review the JSSImporter wiki for alternatives.

jaleksiewicz commented 1 year ago

oh wow was that all it was? Now I feel really silly