Menu

#460 Jalopy output goes between 2 different forms

1.5b5
closed-fixed
S
Core (71)
5
2005-12-19
2005-12-09
scubed
No

I have a svn repository that checks if the code has
been run through Jalopy before allowing a commit.
It keeps on claiming that a specific file has
not been cleaned yet. I inspected the file
and found that Jalopy transforms the file
with a period of 2 instead of 1 like it is supposed to.

Attached is a file with just the offending lines
and the Jalopy configuration file.

If you run Jalopy on the file, it will go back
and forth between 2 configurations instead
of settling on just 1.

Discussion

  • scubed

    scubed - 2005-12-09

    Source code of bad file and Jalopy configuration file

     
  • S

    S - 2005-12-15

    Logged In: YES
    user_id=723231

    Jalopy id fighting itself.
    On the first format it aligns the variable names, causing
    the long string assignment to be split across 3 lines.
    On the second format it thinks the number of lines between
    the 2 assignments is > max lines to keep, so it treats the 2
    assignments as different chunks.

    I changed variabledefprinter to actually count newlines
    Which required a few changes... But it appears to all work...

     
  • S

    S - 2005-12-15
    • assigned_to: nobody --> notzippy
    • status: open --> pending-fixed
     
  • S

    S - 2005-12-19
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.