hgext/largefiles/basestore.py
changeset 25660 328739ea70c3
parent 23941 164bd5218ddb
child 26587 56b2bcea2529
--- a/hgext/largefiles/basestore.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/hgext/largefiles/basestore.py	Tue Jun 23 22:20:08 2015 -0700
@@ -96,7 +96,7 @@
 
         try:
             gothash = self._getfile(tmpfile, filename, hash)
-        except StoreError, err:
+        except StoreError as err:
             self.ui.warn(err.longmessage())
             gothash = ""
         tmpfile.close()