summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5/flp.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-18 14:59:33 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-18 14:59:33 (GMT)
commitdef003845b687b785f70d655a5372906f7e042d2 (patch)
tree71a16f3fac942109fc2eb167feb253ec66bcf908 /Lib/plat-irix5/flp.py
parentb65b0065954ce1a410d8309529a5239b7da2bcfd (diff)
downloadcpython-def003845b687b785f70d655a5372906f7e042d2.zip
cpython-def003845b687b785f70d655a5372906f7e042d2.tar.gz
cpython-def003845b687b785f70d655a5372906f7e042d2.tar.bz2
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/plat-irix5/flp.py')
-rwxr-xr-xLib/plat-irix5/flp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/plat-irix5/flp.py b/Lib/plat-irix5/flp.py
index 9f1957f..6c6dae5 100755
--- a/Lib/plat-irix5/flp.py
+++ b/Lib/plat-irix5/flp.py
@@ -12,7 +12,8 @@ SPLITLINE = '--------------------'
FORMLINE = '=============== FORM ==============='
ENDLINE = '=============================='
-error = 'flp.error'
+class error(Exception):
+ pass
##################################################################
# Part 1 - The parsing routines #