changes
This commit is contained in:
parent
1c1f4b7dbf
commit
6e33a7e3a3
@ -13,12 +13,7 @@ except ImportError:
|
|||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
sys.argv = sys.argv[1:]
|
sys.argv = sys.argv[1:]
|
||||||
# try:
|
|
||||||
mod = _hy_import_file(sys.argv[0], '__main__')
|
mod = _hy_import_file(sys.argv[0], '__main__')
|
||||||
# except Exception as e:
|
|
||||||
# exc_type, exc_value, exc_traceback = sys.exc_info()
|
|
||||||
# ntb = exc_traceback.tb_next.tb_next.tb_next # YUCK.
|
|
||||||
# raise type(e), None, ntb
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +17,10 @@
|
|||||||
(do (def kv (.split x ":" 1))
|
(do (def kv (.split x ":" 1))
|
||||||
(def key (.strip (index kv 0)))
|
(def key (.strip (index kv 0)))
|
||||||
(set-index keys key (.strip (index kv 1))))
|
(set-index keys key (.strip (index kv 1))))
|
||||||
(set-index keys key (+ (index keys key) "\n" (.strip x))))))
|
(do
|
||||||
|
(if (== x " .")
|
||||||
|
(def x ""))
|
||||||
|
(set-index keys key (+ (index keys key) "\n" (.strip x)))))))
|
||||||
(dict keys)))
|
(dict keys)))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user