diff options
Diffstat (limited to 'Lib/lib-old/zmod.py')
-rw-r--r-- | Lib/lib-old/zmod.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-old/zmod.py b/Lib/lib-old/zmod.py index 4f03626..7259bf8 100644 --- a/Lib/lib-old/zmod.py +++ b/Lib/lib-old/zmod.py @@ -82,13 +82,13 @@ def checkfield(n, p): print inv def rj(s, width): - if type(s) <> type(''): s = `s` + if type(s) is not type(''): s = `s` n = len(s) if n >= width: return s return ' '*(width - n) + s def lj(s, width): - if type(s) <> type(''): s = `s` + if type(s) is not type(''): s = `s` n = len(s) if n >= width: return s return s + ' '*(width - n) |