chg: removed whitespaces.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# findbits.py - find Binary, Octal, Decimal or Hex number in bitstream
|
||||
#
|
||||
#
|
||||
# Adam Laurie <adam@algroup.co.uk>
|
||||
# http://rfidiot.org/
|
||||
#
|
||||
#
|
||||
# This code is copyright (c) Adam Laurie, 2009, All rights reserved.
|
||||
# For non-commercial use only, the following terms apply - for all other
|
||||
# uses, please contact the author:
|
||||
@@ -77,7 +77,7 @@ def main():
|
||||
print
|
||||
os._exit(True)
|
||||
|
||||
bases= {
|
||||
bases= {
|
||||
2:'BINARY',
|
||||
8:'OCTAL',
|
||||
10:'DECIMAL',
|
||||
|
||||
@@ -56,13 +56,13 @@ class TestFindBits(unittest.TestCase):
|
||||
class OutputBuffer(object):
|
||||
def __init__(self):
|
||||
self.clear_buffer()
|
||||
|
||||
|
||||
def clear_buffer(self):
|
||||
self.content = ''
|
||||
|
||||
|
||||
def write(self, data):
|
||||
self.content += data
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main()
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# xorcheck.py - find xor values for 8-bit LRC
|
||||
#
|
||||
#
|
||||
# Adam Laurie <adam@algroup.co.uk>
|
||||
# http://rfidiot.org/
|
||||
#
|
||||
#
|
||||
# This code is copyright (c) Adam Laurie, 2009, All rights reserved.
|
||||
# For non-commercial use only, the following terms apply - for all other
|
||||
# uses, please contact the author:
|
||||
|
||||
Reference in New Issue
Block a user