projects
/
soclayout.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2543d0a
)
add __main__ runner
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 5 Aug 2020 13:49:03 +0000
(13:49 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 5 Aug 2020 13:49:03 +0000
(13:49 +0000)
experiments9/doDesign.py
patch
|
blob
|
history
diff --git
a/experiments9/doDesign.py
b/experiments9/doDesign.py
index f2029df3ac0df1ff23dd82e0491df75b39420aac..06ea57a2ec44c48887b6233710f9f452ebabc43a 100644
(file)
--- a/
experiments9/doDesign.py
+++ b/
experiments9/doDesign.py
@@
-642,3
+642,13
@@
def scriptMain ( **kw ):
sys.stderr.flush()
return rvalue
+
+
+if __name__ == '__main__':
+ kwargs = {}
+ success = scriptMain(**kwargs)
+ shellSuccess = 0
+ if not success:
+ shellSuccess = 1
+
+ sys.exit(shellSuccess)