summaryrefslogtreecommitdiff
path: root/decoders/jitter/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-05-04 19:15:06 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2016-05-09 12:02:36 +0200
commita9f7935a3db8da5aa9b137cf758ad1c57f31cae9 (patch)
treee5a415f3fa3bad021de3cf1798499fadab310936 /decoders/jitter/pd.py
parentada4c3a342cdfc40bb83a927ece536cc984e27be (diff)
downloadlibsigrokdecode-a9f7935a3db8da5aa9b137cf758ad1c57f31cae9.tar.gz
libsigrokdecode-a9f7935a3db8da5aa9b137cf758ad1c57f31cae9.zip
Consistently use ' instead of " for strings in all PDs.
Diffstat (limited to 'decoders/jitter/pd.py')
-rw-r--r--decoders/jitter/pd.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/decoders/jitter/pd.py b/decoders/jitter/pd.py
index ba1bffa..6dbc27a 100644
--- a/decoders/jitter/pd.py
+++ b/decoders/jitter/pd.py
@@ -91,17 +91,17 @@ class Decoder(srd.Decoder):
def putx(self, delta):
# Adjust granularity.
if delta == 0 or delta >= 1:
- delta_s = "%.1fs" % (delta)
+ delta_s = '%.1fs' % (delta)
elif delta <= 1e-12:
- delta_s = "%.1ffs" % (delta * 1e15)
+ delta_s = '%.1ffs' % (delta * 1e15)
elif delta <= 1e-9:
- delta_s = "%.1fps" % (delta * 1e12)
+ delta_s = '%.1fps' % (delta * 1e12)
elif delta <= 1e-6:
- delta_s = "%.1fns" % (delta * 1e9)
+ delta_s = '%.1fns' % (delta * 1e9)
elif delta <= 1e-3:
- delta_s = "%.1fμs" % (delta * 1e6)
+ delta_s = '%.1fμs' % (delta * 1e6)
else:
- delta_s = "%.1fms" % (delta * 1e3)
+ delta_s = '%.1fms' % (delta * 1e3)
self.put(self.clk_start, self.sig_start, self.out_ann, [0, [delta_s]])