# HG changeset patch # User HackBot # Date 1455073072 0 # Node ID 1e8f5e75e7b15d2e0be1be19cbb2ad30896940db # Parent 2b895af76bd83d763c948889ed87be6b1778d5c3 ` echo \'if not o.path.isfile(a):print u.check_output(["?",a]),;exit()\' >> bin/tomfoolery diff -r 2b895af76bd8 -r 1e8f5e75e7b1 bin/tomfoolery --- a/bin/tomfoolery Wed Feb 10 02:57:47 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 02:57:52 2016 +0000 @@ -4,3 +4,4 @@ if not o.path.isdir(t):print"Somebody should take a peek inside me.";exit() if len(s.argv) != 2:print"I have nothing to say to you.";exit() a=s.argv[1];o.chdir(t) +if not o.path.isfile(a):print u.check_output(["?",a]),;exit()