Modify

Opened 16 years ago

Closed 16 years ago

#3562 closed defect (duplicate)

TypeError: previous_rev() takes exactly 2 arguments (3 given)

Reported by: anonymous Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When displaying a changeset i got this error:

TypeError: previous_rev() takes exactly 2 arguments (3 given)

Changing git_fs.py line 252 from

def previous_rev(self, rev):

to

def previous_rev(self, rev, foo):

seems to solve the issue.

I'm not python programmer so i can't judge about this, just wanted to let you know.

Running python 2.5.2, trac 0.11, gitplugin revision 4146.

Attachments (0)

Change History (3)

comment:1 Changed 16 years ago by mark@burazin.net

Owner: changed from Herbert Valerio Riedel to mark@burazin.net
Status: newassigned

I can confirm that it works :)

comment:2 Changed 16 years ago by mark@burazin.net

Owner: changed from mark@burazin.net to Herbert Valerio Riedel
Status: assignednew

Whoops did not want to change the assignment.

comment:3 Changed 16 years ago by anonymous

Resolution: duplicate
Status: newclosed

duplicate of #3008

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.