]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/parallel/pd.py
Drop obsolete workarounds in PDs.
[libsigrokdecode.git] / decoders / parallel / pd.py
index 34676019211c444d958155498bcad5cf06d4d023..db9b371f3687ed5e570a4e2a83b5dcde1adb5adc 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
-## 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
@@ -178,7 +177,7 @@ class Decoder(srd.Decoder):
                 if self.has_channel(i):
                     conds.append({i: 'e'})
             while True:
-                self.handle_bits(self.wait(conds[:])[1:])
+                self.handle_bits(self.wait(conds)[1:])
         else:
             # Sample on the rising or falling CLK edge (depends on config).
             while True: