changeset 1596:cfe2371a5aa7

code formatting
author adam j hartz <hz@mit.edu>
date Tue, 11 Jun 2019 20:53:16 -0400
parents 9f0163e229c6
children 23a50f6ad383
files catsoop/__QTYPES__/pythoncode/__SANDBOXES__/bwrap.py catsoop/__QTYPES__/pythoncode/__SANDBOXES__/python.py catsoop/cslog.py
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/catsoop/__QTYPES__/pythoncode/__SANDBOXES__/bwrap.py	Mon Jun 10 21:49:53 2019 -0400
+++ b/catsoop/__QTYPES__/pythoncode/__SANDBOXES__/bwrap.py	Tue Jun 11 20:53:16 2019 -0400
@@ -137,7 +137,7 @@
     if len(n) == 2:  # should be this
         out, log = n
         try:
-            log = context['csm_util'].literal_eval(log)
+            log = context["csm_util"].literal_eval(log)
         except:
             log = {}
 
--- a/catsoop/__QTYPES__/pythoncode/__SANDBOXES__/python.py	Mon Jun 10 21:49:53 2019 -0400
+++ b/catsoop/__QTYPES__/pythoncode/__SANDBOXES__/python.py	Tue Jun 11 20:53:16 2019 -0400
@@ -139,7 +139,7 @@
     if len(n) == 2:  # should be this
         out, log = n
         try:
-            log = context['csm_util'].literal_eval(log)
+            log = context["csm_util"].literal_eval(log)
         except:
             log = {}
 
--- a/catsoop/cslog.py	Mon Jun 10 21:49:53 2019 -0400
+++ b/catsoop/cslog.py	Tue Jun 11 20:53:16 2019 -0400
@@ -106,7 +106,7 @@
 
 
 def log_lock(path):
-    lock_loc = os.path.join(base_context.cs_data_root, "_locks", *path) + '.lock'
+    lock_loc = os.path.join(base_context.cs_data_root, "_locks", *path) + ".lock"
     os.makedirs(os.path.dirname(lock_loc), exist_ok=True)
     return FileLock(lock_loc)