changeset 6735:70f05e136a1f

<zgrep> ` echo \'if not o.path.isfile(a):o.chdir("..");print u.check_output(["?",a]),;exit()\' >> bin/tomfoolery
author HackBot
date Wed, 10 Feb 2016 03:02:28 +0000
parents 2d82ea11bd96
children ae749f377daf
files bin/tomfoolery
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/tomfoolery	Wed Feb 10 03:01:43 2016 +0000
+++ b/bin/tomfoolery	Wed Feb 10 03:02:28 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):o.chdir("..");print u.check_output(["?",a]),;exit()