diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-12-06 12:38:34 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-12-06 12:38:34 -0500 |
| commit | 295e3874293a3697b593f7e15fcbed9f5d580fb4 (patch) | |
| tree | 86663c031d08ac6e6595d8dbdd5bff6ecc7b1857 /passlib/apache.py | |
| parent | 038b57325743dddbaf37c57adfa7979efb6b0bb7 (diff) | |
| download | passlib-295e3874293a3697b593f7e15fcbed9f5d580fb4.tar.gz | |
branch exploring feasibility of removing need for 2to3
this commit just fixes some error raises
Diffstat (limited to 'passlib/apache.py')
| -rw-r--r-- | passlib/apache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passlib/apache.py b/passlib/apache.py index 897cdf3..0bf3301 100644 --- a/passlib/apache.py +++ b/passlib/apache.py @@ -60,7 +60,7 @@ class _CommonFile(object): ): if encoding and u":\n".encode(encoding) != b(":\n"): #rest of file assumes ascii bytes, and uses ":" as separator. - raise ValueError, "encoding must be 7-bit ascii compatible" + raise ValueError("encoding must be 7-bit ascii compatible") self.encoding = encoding self.path = path ##if autoload == "exists": |
