summaryrefslogtreecommitdiffstats
path: root/libtoprammer/chips/microchip8
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2013-10-06 21:07:30 +0200
committerMichael Buesch <m@bues.ch>2013-10-06 21:07:30 +0200
commit2b1adf26725d9bfdcbd6d5289acdb7717451e4b2 (patch)
tree6aa13ed1ec38320c2896d2ad7c0bdf9efddffeb2 /libtoprammer/chips/microchip8
parent19dbdd8c73691f23ef14cb29d41750d4ad70405a (diff)
downloadtoprammer-2b1adf26725d9bfdcbd6d5289acdb7717451e4b2.tar.xz
toprammer-2b1adf26725d9bfdcbd6d5289acdb7717451e4b2.zip
Fix makeSip6.py
Signed-off-by: Michael Buesch <m@bues.ch>
Diffstat (limited to 'libtoprammer/chips/microchip8')
-rw-r--r--libtoprammer/chips/microchip8/makeSip6.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtoprammer/chips/microchip8/makeSip6.py b/libtoprammer/chips/microchip8/makeSip6.py
index e7f549f..59e8627 100644
--- a/libtoprammer/chips/microchip8/makeSip6.py
+++ b/libtoprammer/chips/microchip8/makeSip6.py
@@ -40,7 +40,7 @@ def clear():
os.remove('{}.py'.format(matchObj.group(1)))
else:
ftmp.write(line)
- matchObj = re.match('#do not edit the text below this line.*', line)
+ matchObj = re.match('#.*', line)
if matchObj:
isToBeRemoved = True
fin.close()
@@ -86,8 +86,8 @@ def makeSip():
print ('{} - {}'.format(item[0], item[1]))
def main(argv):
- clear()
- # makeSip()
+ #clear()
+ makeSip()
if __name__ == "__main__":
- xit(main(sys.argv))
+ exit(main(sys.argv))
bues.ch cgit interface