changeset 24428:586d33f47dca

largefiles: fix typo with s/__class/__class__/ Commit f78252429e0a (largefiles: don't create chain of __contains__ calls, 2015-03-11) introduced a typo with __class instead of __class__. Let's fix it. There are (obviously) no tests covering this code path, and I could not figure out a way to trigger it, so it remains untested. Spotted by Drew Gottlieb.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 23 Mar 2015 17:07:25 -0700
parents 811a1842cfe5
children 69bd0ec2f9be
files hgext/largefiles/reposetup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/reposetup.py	Mon Mar 23 14:47:35 2015 -0400
+++ b/hgext/largefiles/reposetup.py	Mon Mar 23 17:07:25 2015 -0700
@@ -44,7 +44,7 @@
                         return [lfutil.splitstandin(f) or f for f in filenames]
                     def manifest(self):
                         man1 = super(lfilesctx, self).manifest()
-                        class lfilesmanifest(man1.__class):
+                        class lfilesmanifest(man1.__class__):
                             def __contains__(self, filename):
                                 orig = super(lfilesmanifest, self).__contains__
                                 return (orig(filename) or