Edgewall Software

Ticket #1394 (closed defect: fixed)

Opened 4 years ago

Last modified 22 months ago

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

Reported by: Topia <topia@…> Owned by: jonas
Priority: normal Milestone: 0.8.2
Component: general Version: devel
Severity: normal Keywords:
Cc:

Description

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 
    79  
    80         return self 
    8179 
    8280    def __call__(self): 
    8381        return self.pool 

Attachments

Change History

Changed 4 years ago by mrowe

  • status changed from new to closed
  • resolution set to fixed

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

Changed 22 months ago by cui_y_x@…

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

Changed 22 months ago by cboos

  • milestone set to 0.8.2

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

Add/Change #1394 (svn_fs.py failed with TypeError(__init__() should return None))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.