~markhor/light-locker-settings/fix_get_pid_list

Viewing all changes in revision 151.

  • Committer: Vadim Markovtsev
  • Date: 2016-03-19 08:24:31 UTC
  • Revision ID: gmarkhor@gmail.com-20160319082431-nebz3d4e25hqm3ba
Fix work with newer psutil
  
  Problem:
  https://bbs.archlinux.org/viewtopic.php?id=199003
  
  Cause:
  https://github.com/giampaolo/psutil/commit/fc8592a482c1232da33366a95ddd62a99130534a
  
  So psutil >= 2.0.0 breaks light-locker-settings.py
  
  Solution:
  Try both API variants

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: