From e37613527a05fc56f8ee5886a868c948b3ee4cfc Mon Sep 17 00:00:00 2001 From: Stefan Israelsson Tampe Date: Tue, 4 Sep 2018 16:19:39 +0200 Subject: pipes --- modules/language/python/exceptions.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/language/python/exceptions.scm') diff --git a/modules/language/python/exceptions.scm b/modules/language/python/exceptions.scm index f2cceee..5b58f9e 100644 --- a/modules/language/python/exceptions.scm +++ b/modules/language/python/exceptions.scm @@ -17,7 +17,8 @@ UnicodeDecodeError LookupError IndentationError KeyboardInterrupt MemoryError NameError EOFError UnicodeError UnicodeEncodeError - FileExistsError FileNotFoundError IsADirectoryError )) + FileExistsError FileNotFoundError IsADirectoryError + EnvironmentError)) (define-syntax-rule (aif it p x y) (let ((it p)) (if it x y))) @@ -69,6 +70,7 @@ (define StopIteration 'StopIteration) (define GeneratorExit 'GeneratorExit) +(define-er EnvironmentError 'EnvironmentError) (define-er UnicodeEncodeError 'UnicodeEncodeError) (define-er FileExistsError 'FileExistsError) (define-er FileNotFoundError 'FileNotFoundError) -- cgit v1.2.3