Removed the asterisks denoting the boundaries of the cheatsheets.

This commit is contained in:
Chris Lane 2013-08-26 19:45:12 -04:00
parent cd1b43118d
commit 3399b8905d

2
cheat
View File

@ -117,7 +117,6 @@ def main():
# print the cheatsheet if it exists # print the cheatsheet if it exists
if keyphrase in cheatsheets: if keyphrase in cheatsheets:
print ''.join('*' for x in range(80)) + "\n"
filename = os.path.join(cheatsheets[keyphrase], keyphrase) filename = os.path.join(cheatsheets[keyphrase], keyphrase)
if USE_PYGMENTS: if USE_PYGMENTS:
pretty_print(filename) pretty_print(filename)
@ -125,7 +124,6 @@ def main():
with open(filename) as istream: with open(filename) as istream:
for l in istream: for l in istream:
sys.stdout.write(l) sys.stdout.write(l)
print "\n" + ''.join('*' for x in range(80))
# if it does not, say so # if it does not, say so
else: else: