Edgewall Software

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#1394 closed defect (fixed)

svn_fs.py failed with TypeError(__init__() should return None)

Reported by: Topia <topia@…> Owned by: Jonas Borgström
Priority: normal Milestone: 0.8.2
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


repository sync fails with oops. such as:

  File ".../python/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 118, in __init__
    self.pool = Pool(self, None)
TypeError: __init__() should return None

fixed with:

  • trac/versioncontrol/svn_fs.py

    7676        except TypeError:
    7777            self.close()
    7878            raise
    80         return self
    8280    def __call__(self):
    8381        return self.pool

Attachments (0)

Change History (3)

comment:1 by Mark Rowe, 19 years ago

Resolution: fixed
Status: newclosed

Fixed in [1481]. Thanks for picking this up.

comment:2 by cui_y_x@…, 17 years ago

hey buddy.reason is your class init method has return a result.so don't write result in init method.

comment:3 by Christian Boos, 17 years ago

Milestone: 0.8.2

I guess the above comment was a test… please don't abuse this system as a test system.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.