platformsettings.py | 353 def _sysctl(self, *args, **kwargs): member in class:_PosixPlatformSettings 367 self.has_sysctl_cache[name] = self._sysctl(name)[0] == 0 371 rv = self._sysctl('%s=%s' % (name, value), use_sudo=True)[0] 376 rv, value = self._sysctl('-n', name) 396 rv = self._sysctl('-w', '%s=%s' % (name, value), use_sudo=True)[0]
|