hgext/largefiles/proto.py
changeset 26587 56b2bcea2529
parent 25660 328739ea70c3
child 26825 78539633acf3
--- a/hgext/largefiles/proto.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/hgext/largefiles/proto.py	Thu Oct 08 12:55:45 2015 -0700
@@ -51,7 +51,8 @@
     cache.'''
     filename = lfutil.findfile(repo, sha)
     if not filename:
-        raise util.Abort(_('requested largefile %s not present in cache') % sha)
+        raise error.Abort(_('requested largefile %s not present in cache')
+                          % sha)
     f = open(filename, 'rb')
     length = os.fstat(f.fileno())[6]