changeset 2:83ed7c5846b2

typos
author Henry Thompson <ht@markup.co.uk>
date Tue, 18 Feb 2020 22:19:51 +0000
parents a4b0359456bc
children cbd13beb0922 462179da7dc2
files bin/plinks.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bin/plinks.py	Tue Feb 18 21:33:35 2020 +0000
+++ b/bin/plinks.py	Tue Feb 18 22:19:51 2020 +0000
@@ -12,13 +12,13 @@
   for l in sys.stdin:
     (fno,f)=l.rstrip().split()
     try:
-      links=run(file)
+      links=run(f)
       with open('/dev/shm/x/links_%s'%fno,'w') as of:
         for k in links.keys():
           for l in links[k]:
-            print("%s\t%s\t%s"%(k,l),file=of)
+            print("%s\t%s"%(k,l),file=of)
     except Exception as e:
-      print("%s\t%s\t%s"%(fno,e),file=bf)
+      print("%s\t%s"%(fno,e),file=bf)
     if (path.exists('/dev/shm/stopJob')):
       print("Quiting early: %s %s"%(me,fno),file=sys.stderr)
       exit(1)