largefiles: py2.4 doesn't have BaseException stable
authorMatt Mackall <mpm@selenic.com>
Fri, 21 Oct 2011 16:52:16 -0500
branchstable
changeset 15333 f37b71fec602
parent 15332 0db47b8d025f
child 15334 24856af7237c
largefiles: py2.4 doesn't have BaseException ..and it's the wrong base class anyway.
hgext/largefiles/lfutil.py
--- a/hgext/largefiles/lfutil.py	Thu Oct 20 21:56:30 2011 -0400
+++ b/hgext/largefiles/lfutil.py	Fri Oct 21 16:52:16 2011 -0500
@@ -446,6 +446,6 @@
     return ('largefiles' in repo.requirements and
             util.any(shortname + '/' in f[0] for f in repo.store.datafiles()))
 
-class storeprotonotcapable(BaseException):
+class storeprotonotcapable(Exception):
     def __init__(self, storetypes):
         self.storetypes = storetypes