diff hgext/largefiles/lfutil.py @ 15333:f37b71fec602 stable

largefiles: py2.4 doesn't have BaseException ..and it's the wrong base class anyway.
author Matt Mackall <mpm@selenic.com>
date Fri, 21 Oct 2011 16:52:16 -0500
parents 681267a5f491
children 799e56609ef6
line wrap: on
line diff
--- 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