[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] 2 commits: qpaeq: Drop unused imports

Arun Raghavan gitlab at gitlab.freedesktop.org
Sat Oct 26 03:32:12 UTC 2019



Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
f3609ee3 by Felipe Sateler at 2019-10-25T11:34:59Z
qpaeq: Drop unused imports

Neither sip nor PyQt5 are used. From PyQt5 we only use the named imports just below

- - - - -
64b259c2 by Felipe Sateler at 2019-10-25T11:39:03Z
qpaeq: use python3 instead of python 2

The script was already compatible, so lets just switch interpreter

- - - - -


1 changed file:

- src/utils/qpaeq


Changes:

=====================================
src/utils/qpaeq
=====================================
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #    qpaeq is a equalizer interface for pulseaudio's equalizer sinks
 #    Copyright (C) 2009  Jason Newton <nevion at gmail.com
 #
@@ -18,7 +18,6 @@
 
 import os,math,sys
 try:
-    import PyQt5,sip
     from PyQt5 import QtWidgets,QtCore
     import dbus.mainloop.pyqt5
     import dbus



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/compare/e4450d8b586103ec1414e2d6245ff34a9096d97a...64b259c2c93e69a06c894d5cd0ef39cb95efbcdb

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/compare/e4450d8b586103ec1414e2d6245ff34a9096d97a...64b259c2c93e69a06c894d5cd0ef39cb95efbcdb
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20191026/384b8845/attachment.html>


More information about the pulseaudio-commits mailing list