Modify ↓
#1394 closed defect (fixed)
svn_fs.py failed with TypeError(__init__() should return None)
| Reported by: | 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: | |||
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
76 76 except TypeError: 77 77 self.close() 78 78 raise 79 80 return self81 79 82 80 def __call__(self): 83 81 return self.pool
Attachments (0)
Change History (3)
comment:1 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 19 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 , 19 years ago
| Milestone: | → 0.8.2 |
|---|
I guess the above comment was a test… please don't abuse this system as a test system.
Note:
See TracTickets
for help on using tickets.



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