mirror of
https://github.com/munki/munki.git
synced 2026-03-06 06:49:28 -06:00
builtin.super doesn't work correctly with Cocoa classes, use objc.super instead.
This will allow support for more recent PyObjC installs (3.x) than what's on the system (2.x).
This commit is contained in:
@@ -25,6 +25,9 @@ curl replacement using NSURLConnection and friends
|
||||
import os
|
||||
import xattr
|
||||
|
||||
# builtin super doesn't work with Cocoa classes in recent PyObjC releases.
|
||||
from objc import super
|
||||
|
||||
# PyLint cannot properly find names inside Cocoa libraries, so issues bogus
|
||||
# No name 'Foo' in module 'Bar' warnings. Disable them.
|
||||
# pylint: disable=E0611
|
||||
|
||||
Reference in New Issue
Block a user