summaryrefslogtreecommitdiff
path: root/passlib/context.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2011-03-28 01:55:33 -0400
committerEli Collins <elic@assurancetechnologies.com>2011-03-28 01:55:33 -0400
commitb4e35f77798ee08fdae97363f35704432bcfbc6e (patch)
treee39a9de6b2823f569326c2b0433206a10cc2958d /passlib/context.py
parent929f59a76b45ecd3101f5609493f3dd6e1fcd723 (diff)
downloadpasslib-b4e35f77798ee08fdae97363f35704432bcfbc6e.tar.gz
more error statements rewritten
Diffstat (limited to 'passlib/context.py')
-rw-r--r--passlib/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/passlib/context.py b/passlib/context.py
index 4ac3e00..99bc372 100644
--- a/passlib/context.py
+++ b/passlib/context.py
@@ -583,7 +583,7 @@ class CryptPolicy(object):
## p = ConfigParser()
## if update and os.path.exists(path):
## if not p.read([path]):
- ## raise EnvironmentError, "failed to read existing file"
+ ## raise EnvironmentError("failed to read existing file")
## p.remove_section(section)
## self._write_to_parser(p, section)
## fh = file(path, "w")