From b38bbceb8a7dfa6d3936c7b55537e789a1d95f52 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Fri, 16 Aug 2013 09:47:43 +0100 Subject: [PATCH] Change indent level from 2 spaces to 4. --- cheat | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cheat b/cheat index 2d9c0a6..d1968a8 100755 --- a/cheat +++ b/cheat @@ -25,20 +25,20 @@ keyphrase = ' '.join(sys.argv[1:]) # print help if requested if keyphrase in ['', 'help', '--help', '-h']: - print "Usage: cheat [keyphrase]\n" - print "Available keyphrases:" - print "\n".join([name[0] for name in cheatsheets]) - exit() + print "Usage: cheat [keyphrase]\n" + print "Available keyphrases:" + print "\n".join([name[0] for name in cheatsheets]) + exit() sheet_found = False # print the cheatsheet if it exists for sheet in cheatsheets: - if keyphrase == sheet[0]: + if keyphrase == sheet[0]: cheatsheet_filename = os.path.join(sheet[1], keyphrase) with open(cheatsheet_filename, 'r') as cheatsheet: - print cheatsheet.read() - sheet_found = True + print cheatsheet.read() + sheet_found = True # if it does not, say so if not sheet_found: - print 'No cheatsheet found.' + print 'No cheatsheet found.'