]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2cdemux/pd.py
license: remove FSF postal address from boiler plate license text
[libsigrokdecode.git] / decoders / i2cdemux / pd.py
index 68b75a0d66fc70c9854cd3ece0520eaac279c075..d28763b2f55a32c9a37b743da3cc997b2f7f6086 100644 (file)
@@ -14,8 +14,7 @@
 ## GNU General Public License for more details.
 ##
 ## You should have received a copy of the GNU General Public License
 ## GNU General Public License for more details.
 ##
 ## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
 ##
 
 import sigrokdecode as srd
 ##
 
 import sigrokdecode as srd
@@ -30,7 +29,7 @@ class Decoder(srd.Decoder):
     inputs = ['i2c']
     outputs = [] # TODO: Only known at run-time.
 
     inputs = ['i2c']
     outputs = [] # TODO: Only known at run-time.
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         self.packets = [] # Local cache of I²C packets
         self.slaves = [] # List of known slave addresses
         self.stream = -1 # Current output stream
         self.packets = [] # Local cache of I²C packets
         self.slaves = [] # List of known slave addresses
         self.stream = -1 # Current output stream