# HG changeset patch # User Matt Mackall # Date 2011-10-21 21:52:16 # Node ID f37b71fec6029fe0353b85e47cdc5dce8eff6cee # Parent 0db47b8d025f5af977c62f13938138b046166731 largefiles: py2.4 doesn't have BaseException ..and it's the wrong base class anyway. diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -446,6 +446,6 @@ def islfilesrepo(repo): 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