Skip to content

Commit 579764d

Browse files
committed
delete try except
1 parent 114d360 commit 579764d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

python/paddle/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,4 @@
277277
import paddle.text
278278
import paddle.vision
279279

280-
try:
281-
disable_static()
282-
283-
except Exception as e:
284-
raise e
280+
disable_static()

0 commit comments

Comments
 (0)