Re: [viewvc-users] Error Viewing Diffs
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <4A92C06D.5040201__31453.4270008609$1251131515$gmane$org@collab.net> |
Lawrence Cutlip-Mason wrote:
> Made the change to the base installer viewvc.py file - reinstalled (overwrote everything). Still the same issue.
>
> Happens on both the Base Template and the templates-contrib\newvc template.
>
> It is possible I didn't get the patch correct (I'm not a python programmer). This is what went in viewvc.py
>
> === Lines 2986-2992:
>
> else:
> date1 = date2 = flag = headers = None
> raw_diff_fp = None
> changes = []
> if fp:
> if human_readable:
> if flag is not None:
Not precisely. And in Python, precise indentation is extremely relevant to
the logic flow. The following is more what I was thinking of:
else:
date1 = date2 = flag = headers = None
raw_diff_fp = None
changes = []
if fp:
if human_readable:
if flag is not None:
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Distributed Development On Demand
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2386778
To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqSwG0ACgkQokEGqRcG/W5LiACgs0iZfjWMMZNuPG7HIKok8r9H atMAn1vYYNqXvPK2G39SSMo7m7SLqVFU =rnxQ -----END PGP SIGNATURE-----