Fixing Import Cycles.
Sean Farley
sean at farley.io
Mon Feb 29 20:20:57 UTC 2016
Pulkit Goyal <7895pulkit at gmail.com> writes:
> Pardon but I didn't get your first line.
Please don't drop the CC field of the mailing list.
> On Tue, Mar 1, 2016 at 1:26 AM, Sean Farley <sean at farley.io> wrote:
>
>>
>> Pulkit Goyal <7895pulkit at gmail.com> writes:
>>
>> > Sir need a bit of help moving further.
>>
>> You might want to read the part about "sir":
>>
>> https://wiki.python.org/moin/SummerOfCode/2016
>>
>> I've been out of town for the last few days so keeping the mailing list
>> in the loop would have improved chances of someone responding.
>>
>> Original message:
>>
>> Pulkit Goyal <7895pulkit at gmail.com> writes:
>>
>> > Doing that I got a error
>> >
>> > File
>> > "/tmp/hgtests.x7OlIw/install/lib/python/hgext/largefiles/localstore.py",
>> > line 39, in __init__
>> > + super(localstore, self).__init__(ui, repo, self.remote.url())
>> > + TypeError: must be type, not classobj
>> >
>> > which will be resolved as follows
>> >
>> > diff -r c9adc9ceb642 hgext/largefiles/localstore.py
>> > --- a/hgext/largefiles/localstore.py Fri Feb 26 21:40:53 2016 +0530
>> > +++ b/hgext/largefiles/localstore.py Fri Feb 26 21:41:06 2016 +0530
>> > @@ -29,7 +29,7 @@
>> > def __str__(self):
>> > return "%s: %s" % (util.hidepassword(self.url), self.detail)
>> >
>> > -class localstore():
>> > +class localstore(object):
>> > '''localstore first attempts to grab files out of the store in the
>> > remote
>> > Mercurial repository. Failing that, it attempts to grab the files
>> from
>> > the user cache.'''
>> >
>> > Then I got a new error,
>> >
>> > File
>> > "/tmp/hgtests.VSUsjq/install/lib/python/hgext/largefiles/localstore.py",
>> > line 39, in __init__
>> > + super(localstore, self).__init__(ui, repo, self.remote.url())
>> > + TypeError: object.__init__() takes no parameters
>> >
>> > Now trying debugging the same.
>>
More information about the Mercurial-devel
mailing list